I only need to say why if I send a message terminated by a new-line the server read the message , without the new-line I got no answer.If the server is something like this : while( 1 ) { my $new_sock = $sock->accept(); $stmp = <$new_sock>; print "$stmp"; print $new_sock "$stmp\n"; close($new_sock); } close($sock); the server hang waiting for a newline. what cha I do to avoid the server waiting for the newline.
In reply to Re^2: how send message without new-line terminator on IO::Socket
by earlati2
in thread how send message without new-line terminator on IO::Socket
by earlati2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |