object interface for AF_INET and AF_INET6 domain sockets
