in reply to Re: Trapping socket error in client when server goes away
in thread Trapping socket error in client when server goes away
Also, if you go select based, do not use <> (readline) and print (ok, you can if you are very careful). select only guarantees one read or write respectively (and even that one isn't absolutely guaranteed) These buffered operations can use multiple reads and writes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Trapping socket error in client when server goes away
by jfroebe (Parson) on Oct 20, 2004 at 18:33 UTC |