in reply to Handling server socket error and reconnect
Hopefully this is not your entire code, but if this is, what do you expect $client to be in your eval block for the first time? You have never created the connection, how can you read from or write to it ;-?
Update:
By the way, your program has syntax errors...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Handling server socket error and reconnect
by johnnywang (Priest) on Nov 08, 2004 at 19:44 UTC |