This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
TCP/IP address information
struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; size_t ai_addrlen; char * ai_canonname; struct sockaddr * ai_addr; struct addrinfo * ai_next };
The addrinfo structure describes address information for use with TCP/IP. To get this information, call getaddrinfo(); to free a linked list of these structures, call freeaddrinfo().
The addrinfo structure includes these members:
freeaddrinfo(), gai_strerror(), getaddrinfo()