Click here to Skip to main content
15,881,898 members
Home / Discussions / C#
   

C#

 
GeneralRe: Catching exceptions on backgroundworker Pin
Richard MacCutchan16-Aug-14 5:10
mveRichard MacCutchan16-Aug-14 5:10 
AnswerRe: Catching exceptions on backgroundworker Pin
Eddy Vluggen16-Aug-14 2:10
professionalEddy Vluggen16-Aug-14 2:10 
AnswerRe: Catching exceptions on backgroundworker Pin
jschell17-Aug-14 9:56
jschell17-Aug-14 9:56 
GeneralRe: Catching exceptions on backgroundworker Pin
pjank4218-Aug-14 8:40
pjank4218-Aug-14 8:40 
QuestionMissing TCP Packets Pin
M Riaz Bashir15-Aug-14 19:24
M Riaz Bashir15-Aug-14 19:24 
AnswerRe: Missing TCP Packets Pin
Dave Kreskowiak16-Aug-14 4:29
mveDave Kreskowiak16-Aug-14 4:29 
GeneralRe: Missing TCP Packets Pin
M Riaz Bashir16-Aug-14 19:54
M Riaz Bashir16-Aug-14 19:54 
AnswerRe: Missing TCP Packets Pin
Rob Philpott16-Aug-14 6:34
Rob Philpott16-Aug-14 6:34 
Interesting bit of code, although the implementation of OnReceive is not shown. The code suggest that your packets are TCP, so why are you not specifying that when you create the socket?

When I do this sort of thing (in TCP), I normally listen on a socket and accept connections, so I'm not sure what's going on here.

One possibility is that your code is not keeping up with the incoming packets, especially with the 5ms sleep that Dave points out. You could try increasing the receive buffer on the socket to test this assertion. And definitely get rid of the sleep.

If you update your code with the pertinent OnRecieve, that would provide more clues.
Regards,
Rob Philpott.

GeneralRe: Missing TCP Packets Pin
M Riaz Bashir16-Aug-14 19:54
M Riaz Bashir16-Aug-14 19:54 
QuestionThread Freeze when trying Abort Pin
Member 1098515215-Aug-14 12:17
Member 1098515215-Aug-14 12:17 
GeneralRe: Thread Freeze when trying Abort Pin
PIEBALDconsult15-Aug-14 12:47
mvePIEBALDconsult15-Aug-14 12:47 
QuestionSummary Report in GridView Pin
sk_ko14-Aug-14 22:02
sk_ko14-Aug-14 22:02 
AnswerRe: Summary Report in GridView Pin
Chris Quinn14-Aug-14 22:36
Chris Quinn14-Aug-14 22:36 
AnswerRe: Summary Report in GridView Pin
Mycroft Holmes14-Aug-14 23:00
professionalMycroft Holmes14-Aug-14 23:00 
GeneralScope of Share point and Silverlight Pin
Member 1059394814-Aug-14 3:40
Member 1059394814-Aug-14 3:40 
GeneralRe: Scope of Share point and Silverlight Pin
Richard MacCutchan14-Aug-14 4:22
mveRichard MacCutchan14-Aug-14 4:22 
Questionhow do i make each combo box to show a dropdown of the value of the Quantity it has fetched. Pin
Member 1050484913-Aug-14 9:02
Member 1050484913-Aug-14 9:02 
SuggestionRe: how do i make each combo box to show a dropdown of the value of the Quantity it has fetched. Pin
ZurdoDev13-Aug-14 9:24
professionalZurdoDev13-Aug-14 9:24 
QuestionHow to increment div count in path Pin
Member 1098388513-Aug-14 6:09
Member 1098388513-Aug-14 6:09 
Questionc# Play Video Fullscreen Pin
Member 416962813-Aug-14 5:20
Member 416962813-Aug-14 5:20 
AnswerRe: c# Play Video Fullscreen Pin
Simon_Whale13-Aug-14 5:41
Simon_Whale13-Aug-14 5:41 
GeneralRe: c# Play Video Fullscreen Pin
Member 416962813-Aug-14 5:53
Member 416962813-Aug-14 5:53 
GeneralRe: c# Play Video Fullscreen Pin
Dave Kreskowiak13-Aug-14 6:05
mveDave Kreskowiak13-Aug-14 6:05 
GeneralRe: c# Play Video Fullscreen Pin
Member 416962813-Aug-14 8:42
Member 416962813-Aug-14 8:42 
GeneralRe: c# Play Video Fullscreen Pin
Dave Kreskowiak13-Aug-14 12:27
mveDave Kreskowiak13-Aug-14 12:27 

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.