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