All Questions
2 questions
1
vote
1
answer
536
views
SOCK_DGRAM socket recv thread-safe?
Are UNIX SOCK_DGRAM sockets thread-safe for recv() method?
If multiple threads are calling recv() on socket, are both guaranteed to get one clean UDP packet each or is there a chance of data getting ...
4
votes
3
answers
13k
views
How to make two-directional unix domain sockets with SOCK_DGRAM?
I am trying to write a simple Unix datagram server/client, and am having some problems. What I want is a server that listens on a datagram socket and sends a reply to every message received, to the ...