Wouldn't it have been nice if the de facto APIs in use today were more along the lines of ConnectTo(DNS name, service/port).
That had been the original plan and there were APIs that did that. But for some reason, the lunacy of the protocol specific sockets interface was preferred. I know people who have been complaining about it for 25 years or thereabouts.
Some knew even then that the purpose of an API was to hide those sorts of dependencies. There seems to be a history here of always picking the bad design.
_______________________________________________ Ietf@xxxxxxxx https://www.ietf.org/mailman/listinfo/ietf