while ($client = $server->accept()) { # first get a connection while (<$client>) { # read each line from it print FILE $_; # and write the data to our file } close $client; # then close the connection } # repeat
In reply to Re: No data in server file using io::socket
by wog
in thread No data in server file using io::socket
by wileykt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |