a>!</p>
<p>Due to a limitation in dns_gethostbyname, only the first address of a host is returned. Also, service names are not supported (only port numbers)!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nodename</td><td>descriptive name or address string of the host (may be NULL -&gt; local address) </td></tr>
    <tr><td class="paramname">servname</td><td>port number as string of NULL </td></tr>
    <tr><td class="paramname">hints</td><td>structure c