|
|
|
|
|
by Dagger2
13 days ago
|
|
> connect(const char *hostname, uint16_t port) 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... |
|