예제 #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(); }