\hypertarget{group__resolve}{
\section{resolve: Domain name resolution functions}
\label{group__resolve}\index{resolve: Domain name resolution functions@{resolve: Domain name resolution functions}}
}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{group__resolve_g52c62ae9074a54e79ab75024561d946e}{RESOLVE\_\-OK}~0
\item 
\#define \hyperlink{group__resolve_gd2d21305042928ba3d239004d3585e99}{RESOLVE\_\-NOTFOUND}~1
\item 
\#define \hyperlink{group__resolve_ge81cbf2bd87287659571253bdcdec082}{RESOLVE\_\-NOADDR}~2
\item 
\#define \hyperlink{group__resolve_gd7d99b293d7b17f4e45844ad106c2af5}{RESOLVE\_\-NSERROR}~3
\item 
\#define \hyperlink{group__resolve_gfba9a6b28ce9c48feb5edb10001be29b}{RESOLVE\_\-TEMPFAIL}~4
\item 
\#define \hyperlink{group__resolve_g78da8a799cb19600dca99019c8992493}{resolve\_\-ipv4name}(N, A)~resolve\_\-ipv4name\_\-n((N),(A),1)
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
const char $\ast$ \hyperlink{group__resolve_g97eeaa5f16ca8625115d2b9d0f34f7d5}{resolve\_\-ipv4addr} (const \hyperlink{structipv4addr}{ipv4addr} $\ast$addr)
\item 
int \hyperlink{group__resolve_g1a3afae7178330b7ff72d77296fd481d}{resolve\_\-ipv4name\_\-n} (const char $\ast$name, \hyperlink{structipv4addr}{ipv4addr} $\ast$addr, int maxaddrs)
\item 
int \hyperlink{group__resolve_g180ee6193c02b030d5e681233d0aeb68}{resolve\_\-error} (void)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{group__resolve_g78da8a799cb19600dca99019c8992493}{
\index{resolve@{resolve}!resolve\_\-ipv4name@{resolve\_\-ipv4name}}
\index{resolve\_\-ipv4name@{resolve\_\-ipv4name}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define resolve\_\-ipv4name(N, A)~resolve\_\-ipv4name\_\-n((N),(A),1)}}
\label{group__resolve_g78da8a799cb19600dca99019c8992493}


Compatibility macro for resolve\_\-ipv4name\_\-n \hypertarget{group__resolve_ge81cbf2bd87287659571253bdcdec082}{
\index{resolve@{resolve}!RESOLVE\_\-NOADDR@{RESOLVE\_\-NOADDR}}
\index{RESOLVE\_\-NOADDR@{RESOLVE\_\-NOADDR}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define RESOLVE\_\-NOADDR~2}}
\label{group__resolve_ge81cbf2bd87287659571253bdcdec082}


Domain name exists, but has no address. \hypertarget{group__resolve_gd2d21305042928ba3d239004d3585e99}{
\index{resolve@{resolve}!RESOLVE\_\-NOTFOUND@{RESOLVE\_\-NOTFOUND}}
\index{RESOLVE\_\-NOTFOUND@{RESOLVE\_\-NOTFOUND}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define RESOLVE\_\-NOTFOUND~1}}
\label{group__resolve_gd2d21305042928ba3d239004d3585e99}


Domain name not found. \hypertarget{group__resolve_gd7d99b293d7b17f4e45844ad106c2af5}{
\index{resolve@{resolve}!RESOLVE\_\-NSERROR@{RESOLVE\_\-NSERROR}}
\index{RESOLVE\_\-NSERROR@{RESOLVE\_\-NSERROR}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define RESOLVE\_\-NSERROR~3}}
\label{group__resolve_gd7d99b293d7b17f4e45844ad106c2af5}


Non-recoverable name server error. \hypertarget{group__resolve_g52c62ae9074a54e79ab75024561d946e}{
\index{resolve@{resolve}!RESOLVE\_\-OK@{RESOLVE\_\-OK}}
\index{RESOLVE\_\-OK@{RESOLVE\_\-OK}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define RESOLVE\_\-OK~0}}
\label{group__resolve_g52c62ae9074a54e79ab75024561d946e}


No error. \hypertarget{group__resolve_gfba9a6b28ce9c48feb5edb10001be29b}{
\index{resolve@{resolve}!RESOLVE\_\-TEMPFAIL@{RESOLVE\_\-TEMPFAIL}}
\index{RESOLVE\_\-TEMPFAIL@{RESOLVE\_\-TEMPFAIL}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define RESOLVE\_\-TEMPFAIL~4}}
\label{group__resolve_gfba9a6b28ce9c48feb5edb10001be29b}


Temporary failure. 

\subsection{Function Documentation}
\hypertarget{group__resolve_g180ee6193c02b030d5e681233d0aeb68}{
\index{resolve@{resolve}!resolve\_\-error@{resolve\_\-error}}
\index{resolve\_\-error@{resolve\_\-error}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int resolve\_\-error (void)}}
\label{group__resolve_g180ee6193c02b030d5e681233d0aeb68}


Look up the last resolve error code. \hypertarget{group__resolve_g97eeaa5f16ca8625115d2b9d0f34f7d5}{
\index{resolve@{resolve}!resolve\_\-ipv4addr@{resolve\_\-ipv4addr}}
\index{resolve\_\-ipv4addr@{resolve\_\-ipv4addr}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ resolve\_\-ipv4addr (const {\bf ipv4addr} $\ast$ {\em addr})}}
\label{group__resolve_g97eeaa5f16ca8625115d2b9d0f34f7d5}


Look up the domain name corresponding to an IPv4 address. \hypertarget{group__resolve_g1a3afae7178330b7ff72d77296fd481d}{
\index{resolve@{resolve}!resolve\_\-ipv4name\_\-n@{resolve\_\-ipv4name\_\-n}}
\index{resolve\_\-ipv4name\_\-n@{resolve\_\-ipv4name\_\-n}!resolve@{resolve}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int resolve\_\-ipv4name\_\-n (const char $\ast$ {\em name}, {\bf ipv4addr} $\ast$ {\em addr}, int {\em maxaddrs})}}
\label{group__resolve_g1a3afae7178330b7ff72d77296fd481d}


Look up the IPv4 address(es) corresponding to a domain name. 