492
491
to.in6.sin6_scope_id = (uint32_t)if_index;
495
fprintf(stderr, "Connection to: %s, port %" PRIu16 "\n", ip,
494
fprintf(stderr, "Connection to: %s, port %d\n", ip, port);
497
495
char addrstr[INET6_ADDRSTRLEN] = "";
498
496
if(inet_ntop(to.in6.sin6_family, &(to.in6.sin6_addr), addrstr,
499
497
sizeof(addrstr)) == NULL){