Re: [twsocket] Questions for socket experts

2006-04-24 Thread Francois Piette
> If I have learned anything from Francois's code is that you > can never be sure if you get a partial or a full packet. Right ! > The question is if a packet is encrypted (des3) how do you know > you have received the full packet ? The kind of data into the packet doesn't change anything. > Ob

Re: [twsocket] Questions for socket experts

2006-04-24 Thread Angus Robertson - Magenta Systems Ltd
> how do you know you have received the full packet ? By definition, a packet is part of a protocol, whereby you have sent actual length information, fixed length information, or start and terminating characters (often CRLF). UDP/IP does send complete packets, by TCP/IP only ever sends a nev

[twsocket] Questions for socket experts

2006-04-24 Thread george r smith
All, If I have learned anything from Francois's code is that you can never be sure if you get a partial or a full packet. The question is if a packet is encrypted (des3) how do you know you have received the full packet ? Obviously you can not check for a string or a delimiter that would