ADC Home > Reference Library > Technical Q&As > Legacy Documents > Networking >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
Q: After unbinding from a TCP port, I am sometimes unable to do anything with that port until I reboot. This happens in both native OpenTransport API and MacTCP emulation. What gives?
A: OpenTranport TCP makes that port busy for a period of time long enough (about 2 minutes) for any remote connections to time out before you can bind to it again. This is done to prevent any stale connections from corrupting new ones.
You will notice that even though your next
Although a MacTCP emulation should return a
The bottom line is: always check your returned address.
If you are using the native Open Transport API, there is a way around the
two-minute delay. You can issue an option management call before you do the
bind to enable the
Be aware, though, that with the
See X/OpenTransport Interface for further documentation.