Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Detecting connection closed.

 [1/2] from: bga::bug-br::org::br at: 11-May-2004 13:43


Is there any way (without using 'wait) to datect if a tcp connection has been closed? If I try to 'insert into a port that has been closed by the peer it won't generate an error or anything. Ideas? -Bruno

 [2/2] from: rotenca:telvia:it at: 11-May-2004 22:13


Hi,
> Is there any way (without using 'wait) to datect if a tcp connection has > been closed? If I try to 'insert into a port that has been closed by the > peer it won't generate an error or anything. Ideas?
Try: set-modes port [no-wait: true] none? copy port --- Ciao Romano