sockets - I want to know the actual amount of data in the UDP packet -


i want send , receive voice data using udp socket , wi-fi networks. however, know actual size of data contained in data packets when receiving voice data in order make sure incoming properly. how know actual size of data in packet.

the functions receive udp packet, recv , recvfrom, return number of bytes received.


Comments