"is datagramsocket.send thread safe?" Code Answer


udp guarantees that datagrams arrive intact (if at all). in other words there can be no interleaving even if there is multithreading at the sender. that's all you need. you don't actually need thread safety. however the c send() system call is thread safe, like all system calls, because they are atomic.

By user1723699 on July 3 2022

Answers related to “is datagramsocket.send thread safe?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.