Home
last modified time | relevance | path

Searched refs:interface_a (Results 1 – 1 of 1) sorted by relevance

/libuv/docs/code/interfaces/
H A Dmain.c14 uv_interface_address_t interface_a = info[i]; in main() local
16 printf("Name: %s\n", interface_a.name); in main()
17 printf("Internal? %s\n", interface_a.is_internal ? "Yes" : "No"); in main()
19 if (interface_a.address.address4.sin_family == AF_INET) { in main()
20 uv_ip4_name(&interface_a.address.address4, buf, sizeof(buf)); in main()
23 else if (interface_a.address.address4.sin_family == AF_INET6) { in main()
24 uv_ip6_name(&interface_a.address.address6, buf, sizeof(buf)); in main()

Completed in 5 milliseconds