Gayatri wrote:
Dear All,

Hello,

 I am facing one problem if any body knows the solution please let me know.

file name : ch.pl..

use Socket;

require "sys/socket.ph";    # for &TCP_NODELAY
^^^^^^^^^^^^^^^^^^^^^^^^^^

Remove that line and it should work (TCP_NODELAY is included in the Socket module.)

socket (SERVER,  AF_INET, SOCK_STREAM,0); setsockopt(SERVER, SOL_SOCKET,
&TCP_NODELAY, 1)

    or die "Couldn't disable Nagle's algorithm: $!\n";


John
--
use Perl;
program
fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to