|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
IPaddress *SDLNet_TCP_GetPeerAddress(TCPsocket sock)
Get the Peer's (the other side of the connection, the remote side, not the local side) IP address and port number.
Returns: an IPaddress. NULL is returned on errors, or when sock is a server socket.
3.3.1 SDLNet_TCP_Open, 3.3.3 SDLNet_TCP_Accept, 4.1 IPaddress, 4.2 TCPsocket