accept
suspend fun accept(coroutineDispatcher: CoroutineDispatcher = this.coroutineDispatcher): Pair<CoroutineSrtSocket, InetSocketAddress?>
Accepts a pending connection.
See Also: srt_accept
Return
a pair containing the new Socket connection and the IP address and port specification of the remote device.
Parameters
coroutineDispatcher
the CoroutineDispatcher to use. Default to the one provided in constructor.
Throws
if returned SRT socket is not valid