Hi,
Does anybody know how to handle the FIN_WAIT states? The setup is my server is suppose to automatically revert back to LISTEN mode once it gets disconnected (or restarted). My problem is that there are instances that the port I am suppose to use is sometimes in FIN_WAIT1 or FIN_WAIT2 status so there are times that it takes more than a few minutes before I can bind it. The server should be able to go to LISTEN mode in less than 2 minutes. Is there a way to get around this problem or lower the timer settings of this states so that it can release the port earlier? By the way, my program is written in Unix C in an AIX 5.2 OS. Also, I'm currently using the SO_REUSEADDR and SO_LINGER socket options.
Thanks in advance.
Does anybody know how to handle the FIN_WAIT states? The setup is my server is suppose to automatically revert back to LISTEN mode once it gets disconnected (or restarted). My problem is that there are instances that the port I am suppose to use is sometimes in FIN_WAIT1 or FIN_WAIT2 status so there are times that it takes more than a few minutes before I can bind it. The server should be able to go to LISTEN mode in less than 2 minutes. Is there a way to get around this problem or lower the timer settings of this states so that it can release the port earlier? By the way, my program is written in Unix C in an AIX 5.2 OS. Also, I'm currently using the SO_REUSEADDR and SO_LINGER socket options.
Thanks in advance.