Hello,

I'm wondering how to detect that a TCP connection has been closed? Also, if
a connection were to get disconnected via a power outage (simulated
by disconnecting the ethernet cable from the device)? Currently I transmit a
byte of data every 15secs of no activity and when I get an error I close the
connection. I need a better way since the application on the other end has
to process the byte that I'm sending which causes problems. I'm using lwIP
with the xilinx tools (S3ADSP1800A eval board). Just a note, I'm using lwIP
in non blocking mode so the read command either returns -1 or the number of
bytes read. Any help would be appreciated.

Regards,

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

Reply via email to