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

[REBOL] Re: [ports] [tcp] Detecting peer closing connection

From: rotenca:telvia:it at: 21-Nov-2003 15:42

Hi Maarten,
> I think this may have to do with the port being in async mode? Or did > you test it in sync mode as well?
It is the same. But in async mode, copy should not be used, you must use read-io, and read-io in this case returns 0 instead of < 0. --- Ciao Romano