Construct an endpoint using a port number and an IP address. This constructor may be used for accepting connections on a specific interface or for making a connection to a remote endpoint.
basic_endpoint( const asio::ip::address & addr, unsigned short port_num);