send
Sends a message to a remote party.
It waits till it is possible to write on the socket. When this method is returned, it does not mean that the msg was sent.
See Also: srt_send
Return
the number of byte sent
Parameters
the ByteBuffer to send. It must be allocate with ByteBuffer.allocateDirect. It sends ByteBuffer from ByteBuffer.position to ByteBuffer.limit.
See also
Throws
if it has failed to send message
if a timeout has been triggered
Sends a message to a remote party.
It waits till it is possible to write on the socket. When this method is returned, it does not mean that the msg was sent.
See Also: srt_sendmsg2
Return
the number of byte sent
Parameters
the ByteBuffer to send. It must be allocate with ByteBuffer.allocateDirect. It sends ByteBuffer from ByteBuffer.position to ByteBuffer.limit.
the MsgCtrl that contains extra parameter
See also
Throws
if it has failed to send message
if a timeout has been triggered
Sends a message to a remote party.
It waits till it is possible to write on the socket. When this method is returned, it does not mean that the msg was sent.
See Also: srt_send
Return
the number of byte sent
Parameters
See also
Throws
if it has failed to send message
if a timeout has been triggered
Sends a message to a remote party.
It waits till it is possible to write on the socket. When this method is returned, it does not mean that the msg was sent.
See Also: srt_sendmsg2
Return
the number of byte sent
Parameters
the ByteArray to send
the offset of the msg
the size of the msg to send
the MsgCtrl that contains extra parameter
See also
Throws
if it has failed to send message
if a timeout has been triggered