I don't think eval is a good idea, try to do a select before the print, see whether the socket is actually ready for write.
In reply to Re: Trapping socket error in client when server goes away
by pg
in thread Trapping socket error in client when server goes away
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |