Subject: TCP linger time

From: Anuya k <[email-masked]>
Date: Mon, 3 Sep 2001 08:03:19 +0100 (BST)

Hi,

I am facing a wierd problem.

I have impemented a 'client-server' which is a
loadable kernel module in Linux (version 2.4.2)

Now after getting the desired data immediately i close
the connection and also set the socket option
SO_LINGER to {1,0} i.e. ON_OFF = 1 & lingertime = 0

The problem is, even if i close the connection in
which linger time is zero, it doesnt return
immediately but waits for abt 3 min.
( and not 2*MSL)

I used to send another request the very next minute
after closing the first connection and it used to say
"Broken Pipe"...this way tracked the problem.

How can I solve my problem ? Is there any way to help
the connection not linger even for 1 nanosecond ?

Any kind of help will be appreciated.

Aneuya

____________________________________________________________
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit http://in/ groups.yahoo.com