258
258
hint.ai_flags = AI_NUMERICSERV;
260
if (snprintf(portbuf, sizeof(portbuf), "%d", ntohs(port)) >= sizeof(portbuf))
263
if (snprintf(secportbuf, sizeof(secportbuf), "%d", ntohs(secport)) >= sizeof(secportbuf))
262
265
err = getaddrinfo (hostname, portbuf, &hint, &addrs);
264
267
Tprintf ("\tgetaddrinfo(\"%s\", \"%s\", ...)\n\treturns %d: %s\n",