示例#1
0
	ipendpoint get_remote_endpoint(const sf::TcpSocket& socket)
	{
		return std::make_pair(socket.getRemoteAddress(), socket.getRemotePort());
	}
示例#2
0
 auto port() const noexcept { return _sckt.getRemotePort(); }