Using IO::Socket::INET to connect to a server on another machine. The Connection works and the server can recievie the data when the client closes the connection. I need to have the data sent before the connection is closed (real Time) so that the server can process the request and send something back. Some one had mentioned about flushing the buffer, but that does not seem to work.