/
Search
๐Ÿ“–

There are several reasons why the linked list may have more than one addrinfo structure, including: the network host is multihomed, accessible over multiple protocols (e.g., both AF_INET and AF_INET6); or the same service is available from multiple socket types (one SOCK_STREAM address and another SOCK_DGRAM address, for example). So, basically the host could have multiple ways to contact it, and getaddrinfo is listing all (known) ways.

์ถœ์ฒ˜
์ˆ˜์ง‘์‹œ๊ฐ„
2023/02/14 11:15
์—ฐ๊ฒฐ์™„๋ฃŒ
1 more property