Very interesting set of docs. However, I think the language misses in two areas that have shown to be pain points:
* Blocking resolvers. They are a royal pain in an interactive GUI app. But I guess here the language goes with what the OS provides.
* The app developers usually do not care about the dirty underwear of the address families, and addresses, in general, when all they want is to use the reliable stream to a host of their choice. Connecting a socket to a host should be one line, not a half page of alphabet soup.
Also: there's a mention of SCTP. Great! Finally the world is not just bipolar UDP-TCP, at least in the book. But how to use it from the language API ? Raw socket only has an example for ICMP.
Would have been great to see an example for SCTP. Or DCCP, for that matter.
* Blocking resolvers. They are a royal pain in an interactive GUI app. But I guess here the language goes with what the OS provides.
* The app developers usually do not care about the dirty underwear of the address families, and addresses, in general, when all they want is to use the reliable stream to a host of their choice. Connecting a socket to a host should be one line, not a half page of alphabet soup.
Also: there's a mention of SCTP. Great! Finally the world is not just bipolar UDP-TCP, at least in the book. But how to use it from the language API ? Raw socket only has an example for ICMP. Would have been great to see an example for SCTP. Or DCCP, for that matter.