Definition in file adi.c.
Go to the source code of this file.
Defines | |
#define | main main1 |
#define | REQUEST "GET / HTTP/1.0\r\n\r\n" |
Functions | |
void | a1 (void) |
int | main (void) |
void | a3 (void) |
|
|
|
|
|
getaddrinfo test program AUP2, Sec. 8.02.6 Copyright 2003 by Marc J. Rochkind. All rights reserved. May be copied only for purposes and under conditions described on the Web page www.basepath.com/aup/copyright.htm. The Example Files are provided "as is," without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. The author and his publisher are not responsible for any damages, direct or incidental, resulting from the use or non-use of these Example Files. The Example Files may contain defects, and some contain deliberate coding mistakes that were included for educational reasons. You are responsible for determining if and how the Example Files are to be used. Definition at line 31 of file adi.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, exit(), and getaddrinfo(). |
|
Definition at line 72 of file adi.c. References addrinfo::ai_family, addrinfo::ai_next, addrinfo::ai_socktype, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, exit(), gai_strerror(), and getaddrinfo(). |
|
Definition at line 50 of file adi.c. References addrinfo::ai_family, addrinfo::ai_next, addrinfo::ai_socktype, ec_ai, EC_CLEANUP_BGN, EC_CLEANUP_END, exit(), getaddrinfo(), inet_ntoa(), ntohs(), sockaddr_in::sin_addr, and sockaddr_in::sin_port. |