Re: require "sys/socket.ph";
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Mon, 30 May 2005 07:35:32 -0700
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 .
- References:
- require "sys/socket.ph";
- From: Gayatri
- require "sys/socket.ph";
- Prev by Date: RE: remove duplicate lines
- Next by Date: Re: remove duplicate lines
- Previous by thread: require "sys/socket.ph";
- Index(es):
Relevant Pages
|