For the seed - component Indy - IdUDPClient. In the near future I plan to rewrite under the API, but nevertheless, even a quick googling on the API of sockets did not suggest how you can find out the length of the input packet.
True, looking at the incoming packets with a sniffer, I realized that the first 20 bytes contain information about this packet, including and its length, but I do not know how to parse it. Tell me?