ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

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.