I have a TCP server listening on a socket, receiving data using the following line:

my $res = $clientSocket->recv($inputBuffer, 1024);

The problem is, when it gets the data and prints it, it doesn't wait for an enter, it just takes what it gets in, maybe 0.05 seconds and outputs it, and so forth.. I want it to grab data up to a newline and print that, and continue as long as the socket is open.

How do I make it do this?

Thanks in advance,

EllioT

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to