Category : local

I’m trying to bind a socket to a specific IP-port, and for compatibility issues I must check the validity of the IP address (supporting both v4 and v6) BEFORE I try to call bind(). To be clear – I can’t use the workaround of calling bind as a test and then close the socket. By ..

Read more