Hi all,

I need to make a PC and a portable system to communicate.
The PC sends operator requests to the portable system. Very small amount of 
data (configuration data).
The portable system sends data to the PC when data are available. About 
10KBytes/s.
As sockets are not tread safe, I use 2 stream sockets to acheive this 
bidirectionnal communication.
One socket for receiving config.
One socket to send data.
This works well except when connection is lost.
On the receive side, I can do a select with a timeout and close the connection 
when nothing has been received for a while.
But on the transmit side, things continue as if the connection was not lost 
until... Well the behavior is not allways the same. Sometimes, it stalls (even 
after reconnecting), sometimes not.
Any help, or comments would be appreciated.

Nicolas





_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to