Click here to Skip to main content
15,908,906 members
Home / Discussions / C#
   

C#

 
AnswerRe: Scope issue declaring a delegate within a static class Pin
dotman121-Oct-11 23:33
dotman121-Oct-11 23:33 
QuestionAsync Socket Receive Pin
Richard Andrew x6421-Oct-11 6:48
professionalRichard Andrew x6421-Oct-11 6:48 
AnswerRe: Async Socket Receive Pin
Eddy Vluggen21-Oct-11 9:04
professionalEddy Vluggen21-Oct-11 9:04 
AnswerRe: Async Socket Receive Pin
TheGreatAndPowerfulOz21-Oct-11 9:20
TheGreatAndPowerfulOz21-Oct-11 9:20 
AnswerRe: Async Socket Receive Pin
jschell21-Oct-11 10:59
jschell21-Oct-11 10:59 
GeneralRe: Async Socket Receive Pin
Richard Andrew x6421-Oct-11 11:14
professionalRichard Andrew x6421-Oct-11 11:14 
GeneralRe: Async Socket Receive Pin
jschell21-Oct-11 12:15
jschell21-Oct-11 12:15 
GeneralRe: Async Socket Receive Pin
Richard Andrew x6421-Oct-11 17:55
professionalRichard Andrew x6421-Oct-11 17:55 
Thanks for your thoughts. I was able to solve the issue for now by using a variable-length receive buffer.

I calculate how many bytes are left in the message, and adjust the buffer to be big enough to handle it in one go. That way, there is no chance for anything to get out of order.



The difficult we do right away...
...the impossible takes slightly longer.

QuestionMIME Attachment Names containing Extended Characters Fails Pin
Chadwick Posey21-Oct-11 4:39
Chadwick Posey21-Oct-11 4:39 
AnswerRe: MIME Attachment Names containing Extended Characters Fails Pin
Eddy Vluggen21-Oct-11 9:13
professionalEddy Vluggen21-Oct-11 9:13 
GeneralRe: MIME Attachment Names containing Extended Characters Fails Pin
Chadwick Posey21-Oct-11 10:17
Chadwick Posey21-Oct-11 10:17 
GeneralRe: MIME Attachment Names containing Extended Characters Fails Pin
Chadwick Posey24-Oct-11 6:28
Chadwick Posey24-Oct-11 6:28 
QuestionSome data gets lost between WCF server and client Pin
teknolog12321-Oct-11 2:06
teknolog12321-Oct-11 2:06 
AnswerRe: Some data gets lost between WCF server and client Pin
OriginalGriff21-Oct-11 2:31
mveOriginalGriff21-Oct-11 2:31 
QuestionRe: Some data gets lost between WCF server and client Pin
Luc Pattyn21-Oct-11 3:14
sitebuilderLuc Pattyn21-Oct-11 3:14 
AnswerRe: Some data gets lost between WCF server and client Pin
OriginalGriff21-Oct-11 3:18
mveOriginalGriff21-Oct-11 3:18 
GeneralRe: Some data gets lost between WCF server and client Pin
Dennis E White21-Oct-11 3:28
professionalDennis E White21-Oct-11 3:28 
GeneralRe: Some data gets lost between WCF server and client Pin
teknolog12321-Oct-11 4:23
teknolog12321-Oct-11 4:23 
AnswerRe: Some data gets lost between WCF server and client Pin
Abhinav S21-Oct-11 2:39
Abhinav S21-Oct-11 2:39 
QuestionHow to make the program do not minimized at all minimized windows? Pin
Slavik_ns20-Oct-11 20:41
Slavik_ns20-Oct-11 20:41 
AnswerRe: How to make the program do not minimized at all minimized windows? Pin
Qendro20-Oct-11 21:01
Qendro20-Oct-11 21:01 
GeneralRe: How to make the program do not minimized at all minimized windows? Pin
Slavik_ns20-Oct-11 21:15
Slavik_ns20-Oct-11 21:15 
AnswerRe: How to make the program do not minimized at all minimized windows? Pin
Eddy Vluggen21-Oct-11 0:41
professionalEddy Vluggen21-Oct-11 0:41 
GeneralRe: How to make the program do not minimized at all minimized windows? Pin
Qendro21-Oct-11 2:16
Qendro21-Oct-11 2:16 
GeneralRe: How to make the program do not minimized at all minimized windows? Pin
BillWoodruff21-Oct-11 17:16
professionalBillWoodruff21-Oct-11 17:16 

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.