All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Detecting stale TCP/IP
@ 2003-07-29  8:56 Ben Clewett
  2003-07-29 10:24 ` Jasper Spaans
  2003-07-29 14:55 ` Ben Clewett
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Clewett @ 2003-07-29  8:56 UTC (permalink / raw)
  To: lartc

Dear lartc,

I have a TCP/IP server connecting to a GPRS PDA.

Unfortuntatelly GPRS seems unstable, and for this reason or another, a 
interupt to the TCP/IP connection (like switching the clinet off 
suddenly) does not terminate the TCP/IP connection.  It can still be 
seen in 'netstat', and a test by the application shows it present.  It 
may time out after about 40 minutes.

My real problem is a call to 'write' in non-blocking mode returns 
success when the other end of the TCP/IP connection is not there.

Does any member know a reference to where I can test for the reply 
TCP/IP 'ACK' packet for this write call, and therefore timeout and 
terminate the connection?

Thanks in advance,

Ben Clewett.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-29 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-29  8:56 [LARTC] Detecting stale TCP/IP Ben Clewett
2003-07-29 10:24 ` Jasper Spaans
2003-07-29 14:55 ` Ben Clewett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.