\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[resolve\_\-ipv4name]{\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[RESOLVE\_\-NOADDR]{\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[RESOLVE\_\-NOTFOUND]{\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[RESOLVE\_\-NSERROR]{\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[RESOLVE\_\-OK]{\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[RESOLVE\_\-TEMPFAIL]{\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[resolve\_\-error]{\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[resolve\_\-ipv4addr]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ resolve\_\-ipv4addr (const \hyperlink{structipv4addr}{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[resolve\_\-ipv4name\_\-n]{\setlength{\rightskip}{0pt plus 5cm}int resolve\_\-ipv4name\_\-n (const char $\ast$ {\em name}, \hyperlink{structipv4addr}{ipv4addr} $\ast$ {\em addr}, int {\em maxaddrs})}}
\label{group__resolve_g1a3afae7178330b7ff72d77296fd481d}


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