linux tcp implementation: 2MSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I am implementing a daemon which uses
network-sockets(TCP). One  problem, I am facing during
testing is, that "address already in use" when I try
to restart the daemon after shutting it.

I have also given the socket option SO_REUSEADDR and
also closing the socket from daemon during daemon
shutdown procedure. I am still getting the messages
that "bind problem: address already in use".

What I know that this problem is due to 2MSL time. I
was wondering if there is any way to modify this, may
be through /proc or by passing some kernel parameter.
and what is the 2MSL in current linux
imlementation(2.4.x)

Or is there any other suggestion to fix this problem?

Cheers,
Nitin




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux