ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

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.