I have a question regarding recv (C, Android).
Is recv guaranteed to return a complete UDP datagram when it returns?
In my case I am using recv to read RTP packets from a socket. The expected length of each RTP packet is 172 (160 bytes for payload and 12 for the header). However, I'm not sure whether I have a guarantee that I'll get the complete 172 bytes when recv returns with data.
Can anybody confirm/comment?