3 ms·
I really do like that when you get a UDP message, its the whole thing is nice. UDP is awesomely easy, and I honestly liked it better as long as the messages ar
by acomjean 12y ago
I really do like that when you get a UDP message, its the whole thing is nice. UDP is awesomely easy, and I honestly liked it better as long as the messages are small.
(although I'm old enough to remember whole computers with 1 UDP packet worth:64K bytes of memory, that isn't alot today)
The loop and keep reading of tcp does gets tiresome, and if the sender goes down broken pipe...Memory allocation for the read...
We used a lot udp and udp multicast, and it was great to be able to fire up a diagnosing tool to join the multicast group and listen in. Though in multicast the OS networking stack handles keeping your subscription, with no intervention from the software.