port

val port: Int

Retrieves the port to which the SRT socket is connected.

See Also: srt_getpeername

Return

the remote port if SRT socket is connected and valid. Otherwise, it returns a 0.

See also

Throws

if SRT socket is invalid or not connected