SDLNet.UDPSocket.get_address:


Description:

public SDLNet.IPAddress? get_address (int channel)
Get the primary IP address of the remote system associated with the socket and channel.

Returns:

If the channel is -1, then the primary IP port of the UDP socket is returned -- this is only meaningful for sockets opened with a specific port. If the channel is not bound and not -1, this function returns null

created by valadoc