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 socket, byte 4 and 5 have length of record data. Than if you know (encrypted) data length you must read rest of data until you have all octets or socket error. Reading may be in "chunks" (it depends how peer is writing to socket).
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]