ibm-information-center/dist/eclipse/plugins/i5OS.ic.ifs_5.4.0.1/rzaaxaddress.htm

82 lines
5.2 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Name-to-address translation APIs" />
<meta name="abstract" content="These APIs allow an application to obtain the address of a service or a specified host in a transport-independent manner." />
<meta name="description" content="These APIs allow an application to obtain the address of a service or a specified host in a transport-independent manner." />
<meta name="DC.Relation" scheme="URI" content="rzaaxtirpc.htm" />
<meta name="DC.Relation" scheme="URI" content="../apifinder/finder.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaaxaddress" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Name-to-address translation APIs</title>
</head>
<body id="rzaaxaddress"><a name="rzaaxaddress"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Name-to-address translation APIs</h1>
<div><p>These APIs allow an application to obtain the address of a service
or a specified host in a transport-independent manner.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" valign="bottom" width="33.33333333333333%" id="d0e21">API</th>
<th align="left" valign="bottom" width="66.66666666666666%" id="d0e23">Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">netdir_free()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Frees structures that are allocated
by name-to-address translation APIs</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">netdir_getbyaddr()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Maps addresses into host names
and service names</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">netdir_getbyname()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Maps the host name and service
name that are specified in the service parameter to a set of addresses that
are consistent with the transport identified in the netconfig structure</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">netdir_options()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Provides interfaces to transport-specific
capabilities such as the broadcast address and reserved port facilities of
TCP and UDP</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">netdir_sperror()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Issues an informational message
that states why one of the name-to-address translation APIs failed</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">taddr2uaddr()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Translates a transport-specific
(local) address to a transport-independent (universal) address</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e21 "><span class="apiname">uaddr2taddr()</span></td>
<td align="left" valign="top" width="66.66666666666666%" headers="d0e23 ">Translates a transport-independent
(universal) address to a transport-specific (local) address (netbuf structure)</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaaxtirpc.htm" title="Developed by Sun Microsystems, remote procedure call (RPC) easily separates and distributes client applications from a server mechanism.">Transport-independent remote procedure call</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../apifinder/finder.htm">API finder</a></div>
</div>
</div>
</body>
</html>