#include <wvresolver.h>
Collaboration diagram for WvResolver:
Definition at line 24 of file wvresolver.h.
Public Member Functions | |
WvResolver () | |
~WvResolver () | |
int | findaddr (int msec_timeout, WvStringParm name, WvIPAddr const **addr, WvIPAddrList *addrlist=NULL) |
Return -1 on timeout, or the number of addresses found, which may be 0 if the address does not exist. | |
int | findname (int msec_timeout, WvIPAddr *ipaddr, char **name) |
void | clearhost (WvStringParm hostname) |
bool | pre_select (WvStringParm hostname, WvStream::SelectInfo &si) |
add all of our waiting fds to an fd_set for use with select(). |
|
Definition at line 107 of file wvresolver.cc. |
|
Definition at line 117 of file wvresolver.cc. |
|
Definition at line 291 of file wvresolver.cc. References hostname(), and WvStringParm. |
|
Return -1 on timeout, or the number of addresses found, which may be 0 if the address does not exist. addrlist, if present, has to be an initialized list. addr points to an internal WvIPAddr and will be deleted automatically. Definition at line 132 of file wvresolver.cc. References namelookup(), wvfork(), and WvStringParm. Referenced by WvTCPConn::check_resolver(), WvUrl::resolve(), test(), and WvTCPConn::WvTCPConn(). |
|
|
|
add all of our waiting fds to an fd_set for use with select().
Definition at line 307 of file wvresolver.cc. References hostname(), and WvStringParm. Referenced by WvTCPConn::pre_select(), and WvHttpPool::pre_select(). |