First page Back Continue Last page Overview Graphics
Name-vs-Address Translation Functions (Protocol Independent)
Name to address
int getaddrinfo(const char *nodename,
const char *servname,
const struct addrinfo *hints,
struct addrinfo **res);
Address to name
int getnameinfo(const struct sockaddr *sa,
socklen_t salen,
char *host, size_t hostlen,
char *serv, size_t servlen,
int flags);
Notes: