Closed
Description
Closing a listening socket that has open connections leaves the socket in a TIME_WAIT state for approximately 2 minutes. This prevents the socket from being reused immediately. IMHO on an embedded device this is not very useful because we will most likely start the same server on the same port anyway.
Setting the SO_REUSEADDR on the listening socket would make the port available immediately again.