UNIX domain datagram socket — server does not receive all records
问题 I have a multicore program that uses a UNIX domain datagram socket. Three cores (or more, but 3 in this example) send records with sendto and one core receives records with recvfrom and processes the records sent by multiple clients. Each core is assigned to a separate core (using its affinity mask). The program processes a data series in a loop and at the end of each iteration the cores send data to the socket. The data series is small 64-bit integers. My problem is that I receive records