in reply to Socket buffer flush issue

Did you try flushing the socket after the print? Eg. use IO::Handle; SOCKET->flush();

Also, could the problem be in the other code, eg. you never detect any of those conditions that would cause you to send any message apart from the first one?

Replies are listed 'Best First'.
Re^2: Socket buffer flush issue
by pigling (Initiate) on Nov 03, 2010 at 10:56 UTC
    Thanks a lot for your reply, ambrus.

    I will try to mix Socket with IO::Handle and see the result.

    The other code the server part is in fact reused from previous project which is proved to run very well with other client codes (in C language of course).