in reply to
Sending & Receiving on a socket
Sounds like you might be
Suffering from Buffering
. Take a look at the networking examples provided there... They seem to be be quite similiar to the problem you describe.
-Blake
Comment on
Re: Sending & Receiving on a socket
In Section
Seekers of Perl Wisdom