Bind this socket to a particular device like “eth0”, as specified in the passed interface name. If the name is an
empty string or the option length is zero, the socket device binding is removed. The passed option is a variable-length null-terminated interface name string with the maximum size of IFNAMSIZ. If a socket is
bound to an interface, only packets received from that particular interface are processed by the socket. Note that this only works for some socket types, particularly AF_INET sockets. It is not supported for
packet sockets (use normal bind(8) there).