Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

Working with UDP data streams

UDP is a "connectionless" way to exchange data. It is very simple to set up and operate, however data are not prodected by acknowledges.

Using UDP sockets

A UDP socket is opened using the "UDPOPEN" command (Mehr more).

 

UDP is a packet oriented format. One UDP packet can hold 1460 bytes. Thus an array with this length should be ideally defined for receiving and sending data.

 

Some details:

  • If an array shorter than the max lenght is used during a 'get' command, the left over data from that packet are thrown away.