Constructor.
Type alias of the "sin" internet address struct type, sockaddr_in for IPv4 or sockaddr_in6 for IPv6.
Accepts a connection from a listening socket and sets this.fd to the accepted socket file descriptor.
Calls accept() to accept a connection from a listening socket, sets this.fd to the accepted socket file descriptor.
Overriding wrapper to satisfy overload-override rules of D.
Assigns a local address to this socket. This socket needs to have been created by socket().
Assigns a local address and optionally a port to this socket. This socket needs to have been created by socket().
Assigns the wildcard "any" local address and optionally a port to this socket. This socket needs to have been created by socket().
Overriding wrapper to satisfy overload-override rules of D.
Connects this socket the specified address. This socket needs to have been created by socket().
Connects this socket the specified address and port. This socket needs to have been created by socket().
Overriding wrapper to satisfy overload-override rules of D.
Formats information about the socket into the provided buffer.
Obtains the address of the peer connected to this socket.
Overriding wrapper to satisfy overload-override rules of D.
Obtains the current address to which this socket is bound.
Overriding wrapper to satisfy overload-override rules of D.
Flags supported by accept4().
true for IPv6, false for IPv4.
Creates an IP socket endpoint for communication and sets this.fd to the corresponding file descriptor.
Calls socket() to create a TCP/IP socket, setting this.fd to the file descriptor.
IP socket class, contains the IPv4/6 address specific parts.