lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] TCP Disconnect Detection lwIP V1.2


From: Gurpal Gill
Subject: [lwip-users] TCP Disconnect Detection lwIP V1.2
Date: Mon, 30 Mar 2009 10:08:04 -0700

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]