Script Library: 1223 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

Discussion posts for script telnet.r

16-Jun-2004 17:15
BUG: copy function may return "" instead of none on port disconnections

CAUSE: read-io returns -1 instead of 0 when trying to read data from 
a port,
just after inserting some data in the port, and lost the connection.
FIX: copy function must return none if read-io returns 0 or -1