[HN Gopher] Everything you ever wanted to know about UDP sockets...
___________________________________________________________________
Everything you ever wanted to know about UDP sockets but were
afraid to ask
Author : jgrahamc
Score : 33 points
Date : 2021-11-25 17:29 UTC (5 hours ago)
(HTM) web link (blog.cloudflare.com)
(TXT) w3m dump (blog.cloudflare.com)
| majke wrote:
| Author here. There is surprisingly little documentation about
| UDP. I mean, there is tons of tutorials showing sendto/recvfrom,
| but that's not enough.
|
| Doing basic CMSG operations in some programming languages is
| remarkably hard. Using IPv4-mapped-IPv6 addresses is little
| known. Most programming languages and frameworks are unaware of
| AF_UNSPEC. And so on.
|
| Not everybody will end up doing the low level socket juggling,
| but I think it's at least good to know the capabilities of the
| operating system.
| eerikkivistik wrote:
| Thanks, bookmarking this for whenever I stumble back into doing
| recreational gamedev.
| [deleted]
___________________________________________________________________
(page generated 2021-11-25 23:02 UTC)