Hello,
Apparently you're using an old version of IO::Socket that does not turn
autoflushing on by default. To turn it on, use:
$sock->autoflush(1);
Here is a sample server:
use IO::Socket;
my $sock = new IO::Socket::INET(LocalPort => 5500, Listen => 5, Reuse => 1)
or die "Cannot listen $!\
In article <[EMAIL PROTECTED]>, Silvio Santana wrote:
>I send data from the client to server with the lines:
>
>$mensagem = "10-bytes-of-data";
>print $servidor $mensagem;
>
>But I am realizing that the data aren't being sent,
>unless they're ending with "\n".
< SNIP >
>
>The question is: how can