Ultrasonic Radar icon Ultrasonic Radar Ultrasonic on a servo sweeps 180°; radar shows distances and obstacles, integrates with movement panels for automatic avoidance, scriptable GetPing Try it →
 

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.