Thanks Darryl for your help.

I wrote that "when I send a new packet from the client I can read the missing
packets, but not the new one" But in fact I can read the missing packets and a part of the second packets.

Here is the trace. I send a trame of 10 bytes from the client, and the server read 5 bytes.


write(1, "Connection realized\r\n", 21) = 21
select(5, [4], NULL, NULL, NULL
-------------------------------------------------------------------------
I send a trame of 10 bytes
-------------------------------------------------------------------------
read(4, "\27\3\0\0 ", 5)                = 5
read(4, "\260\347\362\263\264Q\267\2\17\303&\1\222\37A\367~d\203"..., 32) = 32
read(4, "\27\3\0\0 ", 5)                = 5
read(4, "\177\376[\'\35\325[\242P\275F\313+b\233\261w\341Iu\336"..., 32) = 32
select(5, [4], NULL, NULL, NULL
-------------------------------------------------------------------------
I send a trame of 10 bytes
-------------------------------------------------------------------------
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\27\3\0\0 ", 5)                = 5
read(4, "\357YO\305\4NU\316\264\270\213S\347\306\346\222_\351a\t"..., 32) = 32
read(4, "\27\3\0\0 ", 5)                = 5
read(4, "q\361\322\'*\2764\223>\302g\375\260\0\211\376\265\266F"..., 32) = 32
select(5, [4], NULL, NULL, NULL


Thanks


GUIRY Aroun wrote:
If I send a new packet from the client I can read the missing packets, but not the new one.
I use non-blocking sockets.

Are you on linux ?

Can you run 'strace' or 'strace -p <pid>' and paste the relevant parts
of the output to the list.


Darryl
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to