Do platform-specific operations to make a listener socket reusable.
Specifically, we want to make sure that another program will be able to bind this address right after we've closed the listener.
This differs from Windows's interpretation of "reusable", which allows multiple listeners to bind the same address at the same time.
@param sock The socket to make reusable @return 0 on success, -1 on failure
See Implementation
Do platform-specific operations to make a listener socket reusable.
Specifically, we want to make sure that another program will be able to bind this address right after we've closed the listener.
This differs from Windows's interpretation of "reusable", which allows multiple listeners to bind the same address at the same time.
@param sock The socket to make reusable @return 0 on success, -1 on failure