Re: How do you know you have a full packet

2006-04-25 Thread Marek Marcola
Hello, If I have learned anything from socket code it 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 ? In SSL3/TLS1 you have to read SSL record header (5 bytes) from

How do you know you have a full packet

2006-04-24 Thread george r smith
All, If I have learned anything from socket code it 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

Re: How do you know you have a full packet

2006-04-24 Thread Rick Jones
george r smith wrote: All, If I have learned anything from socket code it is that you can never be sure if you get a partial or a full packet. While that is true if you are using a socket associated with say a TCP connection, it is not true if you are using a socket associated with UDP,