Using UNIX Domain Datagram Sockets
Sending and Receiving Messages
message is in the queue, it is not affected. Therefore, the best technique
is to receive as much as possible on each call. Refer to the recv(2) man
page for more information on recvfrom and recvmsg.
158
Chapter 7