ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzab6_5.4.0.1/uaddrfam.htm

55 lines
3.8 KiB
HTML
Raw Permalink 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="concept" />
<meta name="DC.Title" content="Design applications with address families" />
<meta name="abstract" content="This topic includes sample programs that illustrate each of the socket address families." />
<meta name="description" content="This topic includes sample programs that illustrate each of the socket address families." />
<meta name="DC.Relation" scheme="URI" content="bdesign.htm" />
<meta name="DC.Relation" scheme="URI" content="uafinet.htm" />
<meta name="DC.Relation" scheme="URI" content="uafinet6.htm" />
<meta name="DC.Relation" scheme="URI" content="uafunix.htm" />
<meta name="DC.Relation" scheme="URI" content="uafunixccsid.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="uaddrfam" />
<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>Design applications with address families</title>
</head>
<body id="uaddrfam"><a name="uaddrfam"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Design applications with address families</h1>
<div><p>This topic includes sample programs that illustrate
each of the socket address families.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="uafinet.htm">Use AF_INET address family</a></strong><br />
AF_INET address family sockets can be either connection-oriented (type SOCK_STREAM) or they can be connectionless (type SOCK_DGRAM).</li>
<li class="ulchildlink"><strong><a href="uafinet6.htm">Use AF_INET6 address family</a></strong><br />
AF_INET6 sockets provide support for Internet Protocol version 6 (IPv6) 128 bit (16 byte) address structures. Programmers can write applications using AF_INET6 address family to accept client requests for either IPv4 or IPv6 nodes or from IPv6 nodes only.</li>
<li class="ulchildlink"><strong><a href="uafunix.htm">Use AF_UNIX address family</a></strong><br />
The AF_UNIX address family (sockets using the AF_UNIX or AF_UNIX_CCSID address families) can be connection-oriented (type SOCK_STREAM) or they can be connectionless (type SOCK_DGRAM).</li>
<li class="ulchildlink"><strong><a href="uafunixccsid.htm">Use AF_UNIX_CCSID address family</a></strong><br />
AF_UNIX_CCSID address family sockets have the same specifications as AF_UNIX address family sockets. They can be used for connection-oriented or connectionless and provide communications on the same system.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="bdesign.htm" title="This topic provides examples of sockets programs that use the most basic design.">Basic socket design</a></div>
</div>
</div>
</body>
</html>