[HPADM] Problems with TCP_NODELAY
Date: Wed, 15 Dec 2004 10:58:20 +0100 To: <email@example.com>
I've problems with TCP_NODELAY. I'm calling the getsockopt/setsockopt
function as follows:
int enableOption = x // x is set to 0 or 1
getsockopt(s, IPPROTO_TCP, TCP_NODELAY, &enableOption,
setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &enableOption, sizeof
After the getsockopt call enableOption has always the value I've set
before (0 or 1, I've set the value to 2, too). Have anybody an idea,
where is the problem? The call of TCP_NODELAY is extremly import.
Without the call the programm need 200 ms for a ping call, but it should
need max 10 ms for a ping.
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact firstname.lastname@example.org Name: email@example.com Owner: firstname.lastname@example.org Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)