peerName

Retrieves the remote InetSocketAddress to which the SRT socket is connected.

See Also: srt_getpeername

Return

the remote InetSocketAddress if SRT socket is connected and valid. Otherwise, it returns a null.

See also

Throws

if SRT socket is invalid or not connected