send
Sends raw bytes to targetAddress:sendPort.
Return
Result.success if the datagram was handed to the socket, or Result.failure holding the java.io.IOException that prevented it
Parameters
byteArray
the payload to send
Encodes message as UTF-8 and sends it to targetAddress:sendPort.
Return
the outcome of the underlying send call
Parameters
message
the text to send