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
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
--- 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
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
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
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
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
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)