3 ms·
Is there an easy way to free a socket without having the networking stack close it for you (and tell the remote?)
by nick238 8y ago
Is there an easy way to free a socket without having the networking stack close it for you (and tell the remote?)
- amerine 8y agoYou mean without a close()? You probably shouldn’t try to get around that. It’s not always great but you could set SO_REUSEADDR to let the stack let you open a new socket on the same port after you close the first.