The UdpSocket object UDP (User Datagram Protocol) is a lightweight, unreliable, datagram-oriented, connectionless protocol. It can be used when reliability isn’t important. See the IpSocket documentation for all generic socket-related properties, methods and signals.
This object was introduced in InCore 2.3.
This property holds the UDP datagram which has been received most recently. This property is updated automatically whenever new datagrams are received. Every datagram should therefore be processsed in a handler for the datagramReceived() or currentDatagramChanged() signals immediately.
This method sends the datagram
datagram to the host address and port numbers specified in the UdpDatagram object, using the hop count limits also set there. If the destination address and port numbers are unset, this function will send to the address specified in the IpSocket.hostname property if the socket is connected.