Click here to Skip to main content
15,896,505 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: mozilla not recognising childnodes-getting console error Pin
Dave Kreskowiak16-Nov-10 3:50
mveDave Kreskowiak16-Nov-10 3:50 
AnswerRe: mozilla not recognising childnodes-getting console error Pin
Tarun.K.S18-Nov-10 20:52
Tarun.K.S18-Nov-10 20:52 
QuestionHow To Access Version Information From Code Pin
Patrick Skelton15-Nov-10 4:42
Patrick Skelton15-Nov-10 4:42 
AnswerRe: How To Access Version Information From Code Pin
Abhinav S15-Nov-10 4:46
Abhinav S15-Nov-10 4:46 
GeneralRe: How To Access Version Information From Code Pin
Patrick Skelton15-Nov-10 8:08
Patrick Skelton15-Nov-10 8:08 
QuestionSocket Recieve problem Pin
ganesh_IT15-Nov-10 2:56
ganesh_IT15-Nov-10 2:56 
AnswerRe: Socket Recieve problem Pin
Abhinav S15-Nov-10 3:12
Abhinav S15-Nov-10 3:12 
GeneralRe: Socket Recieve problem Pin
ganesh_IT15-Nov-10 3:33
ganesh_IT15-Nov-10 3:33 
 using (NetworkStrem ns = new NetworkStream(client))
{
  using (BinaryReader br = new BinaryReader(File.OpenRead(filepath)))
                {
                    while (sent < file.Length) // sent = 0 initially
                    {
                        data = new byte[20];

                        br.Read(data, 0, data.Length); //read 20 byte from file 
                        tempData = data;
                        ns.Write(data, 0, data.Length); // sent to client //***** Line Number - 12 *******
                        ns.Flush();
                        ns.Read(data, 0, data.Length); //Error occures here, this read method read the data send by me in  ***** Line Number - 12 ******* and also the ack string ok, thats why the while loop became infinite
                        ack = Encoding.ASCII.GetString(data);
                        while (ack != "ok")
                        {
                            ns.Write(tempData, 0, tempData.Length);
                            ns.Flush();
                            ns.Read(data, 0, data.Length);
                            ack = Encoding.ASCII.GetString(data);
                        }
                        sent += 20;
                        ack = string.Empty;
                    }
}

AnswerRe: Socket Recieve problem Pin
Luc Pattyn15-Nov-10 3:55
sitebuilderLuc Pattyn15-Nov-10 3:55 
AnswerI say this so often that I get tired of saying it Pin
Ennis Ray Lynch, Jr.15-Nov-10 8:22
Ennis Ray Lynch, Jr.15-Nov-10 8:22 
QuestionVisual Studio Testing memory leaks? [modified] Pin
springjazzy15-Nov-10 0:41
springjazzy15-Nov-10 0:41 
AnswerRe: Visual Studio Testing memory leaks? Pin
GlobX24-Nov-10 14:14
GlobX24-Nov-10 14:14 
GeneralRe: Visual Studio Testing memory leaks? Pin
springjazzy25-Nov-10 20:34
springjazzy25-Nov-10 20:34 
QuestionUpload Videos To YouTbe using PROXY - Gdata Pin
sodevrom13-Nov-10 12:34
sodevrom13-Nov-10 12:34 
QuestionC# + Java Pin
sadas232341s10-Nov-10 8:03
sadas232341s10-Nov-10 8:03 
AnswerRe: C# + Java Pin
Richard MacCutchan10-Nov-10 9:13
mveRichard MacCutchan10-Nov-10 9:13 
GeneralRe: C# + Java [modified] Pin
sadas232341s10-Nov-10 9:26
sadas232341s10-Nov-10 9:26 
GeneralRe: C# + Java Pin
Richard MacCutchan10-Nov-10 9:45
mveRichard MacCutchan10-Nov-10 9:45 
AnswerRe: C# + Java Pin
dan!sh 10-Nov-10 9:54
professional dan!sh 10-Nov-10 9:54 
AnswerRe: C# + Java Pin
Abhinav S11-Nov-10 7:38
Abhinav S11-Nov-10 7:38 
AnswerRe: C# + Java Pin
Eddy Vluggen11-Nov-10 10:16
professionalEddy Vluggen11-Nov-10 10:16 
Question32 bits 3. party library in a 64 bits server. Pin
Frode Sætre10-Nov-10 4:00
Frode Sætre10-Nov-10 4:00 
AnswerRe: 32 bits 3. party library in a 64 bits server. Pin
Pete O'Hanlon10-Nov-10 10:58
mvePete O'Hanlon10-Nov-10 10:58 
GeneralRe: 32 bits 3. party library in a 64 bits server. Pin
Frode Sætre10-Nov-10 23:07
Frode Sætre10-Nov-10 23:07 
GeneralRe: 32 bits 3. party library in a 64 bits server. Pin
Luc Pattyn11-Nov-10 0:00
sitebuilderLuc Pattyn11-Nov-10 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.