Socket::Constants
provides socket-related constants. All possible socket constants are listed in the documentation but they may not all be present on your platform.
If the underlying platform doesn’t define a constant the corresponding Ruby constant is not defined.
A socket bound to INADDR_ANY
receives packets from all interfaces and sends from the default IP address
Set
the O_NONBLOCK file status flag on the open file description (see open(2)) referred to by the new file descriptor.