in reply to Problem in socket

( Nevermind, its probably not buffering. The "by the way" still applies, though )

I don't you flushing the output. Suffering from Buffering?

By the way, use IO::Select instead of using select. It's much more readable.

Replies are listed 'Best First'.
Re^2: Problem in socket
by spmlingam (Scribe) on Dec 03, 2008 at 07:17 UTC
    Enable the autoflash, which might help you.
    $| = 1;