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