when it starts, $client is undef, so the $@ block is called to establish the connection. I was hoping it will do the same thing if the connection is broken by the server.
In reply to Re^2: Handling server socket error and reconnect
by johnnywang
in thread Handling server socket error and reconnect
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |