by Dagger2 · 1w ago · 0 comments
It would be `connect(const char *hostname, const char* servname)`, since it's a bit silly to take hostnames yet force the user to resolve the service name themselves.
So many programming languages have made that mistake in their socket APIs...