gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:inet_ntop from t2ex/t2ex_source/kernel/sysmain/src/network_sample/net_test.c (0.00 seconds)
t2ex
t2ex_source/kernel/sysmain/src/network_sample/net_test.c - 12.1KB - 415 lines
128:         addr.s_addr = ((struct sockaddr_in *)(res->ai_addr))->sin_addr.s_addr;
129:         printf("test_getaddrinfo: %s => %s\n", hostname, inet_ntop(AF_INET, &addr, rbuf, sizeof(rbuf)));
130:         free(buf);
156: } 157: printf("test_getnameinfo: %s:%d => %s:%s\n", inet_ntop(AF_INET, &sa.sin_addr, rbuf, sizeof(rbuf)), ntohs(sa.sin_port), buf, buf2); 158:
166: } 167: printf("test_getnameinfo: %s:%d => %s:%s\n", inet_ntop(AF_INET, &sa.sin_addr, rbuf, sizeof(rbuf)), ntohs(sa.sin_port), buf, buf2); 168: