Click here to Skip to main content
15,887,775 members
Home / Discussions / C#
   

C#

 
GeneralRe: Text of ToolStripItem derived objects won't appear when added to a ContextMenuStrip Pin
amasterisout2-Feb-10 6:28
amasterisout2-Feb-10 6:28 
Questionmulticolumn listview Pin
Member 5903101-Feb-10 22:48
Member 5903101-Feb-10 22:48 
AnswerRe: multicolumn listview Pin
Richard MacCutchan1-Feb-10 23:45
mveRichard MacCutchan1-Feb-10 23:45 
QuestionOuter border - Tablelayoutpanel Pin
anoopkamboj1-Feb-10 21:16
anoopkamboj1-Feb-10 21:16 
AnswerRe: Outer border - Tablelayoutpanel Pin
OriginalGriff1-Feb-10 23:15
mveOriginalGriff1-Feb-10 23:15 
QuestionProblem with TAPI [modified] Pin
saeidfarahi1-Feb-10 19:53
saeidfarahi1-Feb-10 19:53 
QuestionC# Server running in mono on linux Pin
justwithit1-Feb-10 19:45
justwithit1-Feb-10 19:45 
AnswerRe: C# Server running in mono on linux Pin
Migounette2-Feb-10 7:30
Migounette2-Feb-10 7:30 
In fact this may be an issue with the TCP window size, let me explain that.

Certainly the size that you try to decode is wrong, due to a framing issue.

If it's a TCP, you need to have some sync stuff, you cannot consider with TCP even if it's a connected protocol that the byte you will receive is always here. That's why you need a sync byte (eg. 0x80 for RTP protocol or HTTP string for HTTP....) prior the size.

The windows socket size is different from OSes (eg. Linux and Windows) and the TCP NO WAIT depends on the stack configuration.

So, I advise you to check if the : size = BitConverter.ToInt32(data, 0); is correct and not a very high value which may cause the memory leak.


My two cents
GeneralRe: C# Server running in mono on linux Pin
Migounette2-Feb-10 7:31
Migounette2-Feb-10 7:31 
GeneralRe: C# Server running in mono on linux Pin
justwithit2-Feb-10 11:00
justwithit2-Feb-10 11:00 
GeneralRe: C# Server running in mono on linux Pin
Migounette4-Feb-10 6:42
Migounette4-Feb-10 6:42 
QuestionControl Message Box Pin
satsumatable1-Feb-10 19:19
satsumatable1-Feb-10 19:19 
AnswerRe: Control Message Box Pin
Eric (eD)1-Feb-10 19:33
Eric (eD)1-Feb-10 19:33 
GeneralRe: Control Message Box Pin
satsumatable1-Feb-10 19:36
satsumatable1-Feb-10 19:36 
AnswerRe: Control Message Box Pin
V.2-Feb-10 1:03
professionalV.2-Feb-10 1:03 
QuestionLinq with Link List Pin
Khaniya1-Feb-10 19:15
professionalKhaniya1-Feb-10 19:15 
AnswerRe: Linq with Link List Pin
Calla1-Feb-10 21:32
Calla1-Feb-10 21:32 
GeneralRe: Linq with Link List Pin
Khaniya1-Feb-10 22:19
professionalKhaniya1-Feb-10 22:19 
GeneralRe: Linq with Link List Pin
Anurag Gandhi2-Feb-10 0:04
professionalAnurag Gandhi2-Feb-10 0:04 
GeneralRe: Linq with Link List Pin
Khaniya2-Feb-10 17:45
professionalKhaniya2-Feb-10 17:45 
Questionis Global variable good or bad in c#.net? Pin
vnsraj1-Feb-10 18:46
vnsraj1-Feb-10 18:46 
AnswerRe: is Global variable good or bad in c#.net? Pin
Eric (eD)1-Feb-10 19:30
Eric (eD)1-Feb-10 19:30 
GeneralRe: is Global variable good or bad in c#.net? Pin
#realJSOP1-Feb-10 23:37
mve#realJSOP1-Feb-10 23:37 
AnswerRe: is Global variable good or bad in c#.net? Pin
dojohansen1-Feb-10 23:29
dojohansen1-Feb-10 23:29 
QuestionHow to swap bounded columns to rows in datagridview Pin
VenkataRamana.Gali1-Feb-10 18:43
VenkataRamana.Gali1-Feb-10 18:43 

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.