send

suspend fun CoroutineSrtSocket.send(msg: String): Int

Sends a message to a remote party.

See Also: srt_send

Return

the number of byte sent

Parameters

msg

the String to send

See also

recv

Throws

if it has failed to send message

if a timeout has been triggered