Receive Data from LabView

Paket = Udp.parsePacket(); //Empfange packet //receive the Packet

The parsePacket() call succeeded, if Paket is 1. That has NOTHING to do with the data that was in the packet.

Checks for the presence of a UDP packet, and reports the size. parsePacket() must be called before reading the buffer with UDP.read().
^^ mistaken with read

so Udp.parsePacket(); says me how big the the data in the buffer is. With read i can take the data out the buffer., but how do the data get in the buffer? Are they written from the LabView Programm in the buffer?