sendUDP

Net.sendUDP(hostname, port, byteArray)

Parameters

hostname Hostname of receiver as a string.
port Port to use.
byteArray Data to send as a byte array.

Returns

The length of the byteArray being sent.

Description

Sends byteArray over the specified port to the hostname using UDP.