RE: Need help for select and a SSL_read problem

2006-08-02 Thread David Schwartz
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

Need help for select and a SSL_read problem

2006-07-28 Thread GUIRY Aroun
Hi all I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select read hit, and I read 500B. Then I expect to have a

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Girish Venkatachalam
--- GUIRY Aroun [EMAIL PROTECTED] wrote: Hi all I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Darryl Miles
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

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Marek Marcola
Hello, I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select read hit, and I read 500B. Then I expect to have

Re: Need help for select and a SSL_read problem

2006-07-28 Thread GUIRY Aroun
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

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Darryl Miles
GUIRY Aroun wrote: 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

Re: Need help for select and a SSL_read problem

2006-07-28 Thread Marek Marcola
Hello, 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)