Re: autoflush on network connection

2001-07-20 Thread Abdulaziz Ghuloum
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 $!\

Re: autoflush on network connection

2001-07-20 Thread John Fox
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