Constructs an endpoint.
Address type (IPv4 or IPv6).
IP address that should be associated with the endpoint.
Port number in network byte order.
See Implementation
Constructs an endpoint.