milanpwc has asked for the wisdom of the Perl Monks concerning the following question:
while (defined $client_socket->recv($data, 1024)) { + ### always true even if the remote end has crashed print "received data: $data\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IO::Socket recv and send
by thanos1983 (Parson) on Mar 25, 2019 at 08:44 UTC | |
by milanpwc (Novice) on Mar 26, 2019 at 04:30 UTC | |
by roboticus (Chancellor) on Mar 26, 2019 at 12:34 UTC | |
|
Re: IO::Socket recv and send
by Anonymous Monk on Mar 25, 2019 at 08:17 UTC | |
by milanpwc (Novice) on Mar 26, 2019 at 04:31 UTC |