sockName

Extracts the InetSocketAddress to which the socket was bound.

See Also: srt_getsockname

Return

if socket is bound and valid, it returns the local InetSocketAddress. Otherwise, it returns a null.

See also

Throws

if SRT socket is invalid or not bound