Home --> Documentations --> PJLIB Reference

Data Structures | Macros | Functions
addr_resolv.h File Reference

IP address resolution. More...

Go to the source code of this file.

Data Structures

struct  pj_hostent
struct  pj_addrinfo


#define h_addr   h_addr_list[0]


pj_status_t pj_gethostbyname (const pj_str_t *name, pj_hostent *he)
pj_status_t pj_gethostip (int af, pj_sockaddr *addr)
pj_status_t pj_getipinterface (int af, const pj_str_t *dst, pj_sockaddr *itf_addr, pj_bool_t allow_resolve, pj_sockaddr *p_dst_addr)
pj_status_t pj_getdefaultipinterface (int af, pj_sockaddr *addr)
pj_status_t pj_getaddrinfo (int af, const pj_str_t *name, unsigned *count, pj_addrinfo ai[])

Detailed Description

IP address resolution.


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.