Check out include/net/tcp.h in the Linux kernel tree. It (implicitly) defines the timeout for connections in CLOSE_WAIT. Depending on that time you may not want to wait as long. Sorry, I can not tell you what the actual timeout value is.

Odi

kunal ashar wrote:
Thanks for the reply.

When the connection will be come idle?.

Why do we need to forcefully run the separate thread to close the
idle connections like CLOSE_WAIT?  OS will close these connections
after some particular amount of time if we don't run this thread?

Thanks Ashar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to