55 lines
3.4 KiB
HTML
55 lines
3.4 KiB
HTML
<?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="Basic socket design" />
|
|
<meta name="abstract" content="This topic provides examples of sockets programs that use the most basic design." />
|
|
<meta name="description" content="This topic provides examples of sockets programs that use the most basic design." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzab6soxoverview.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="connectionor.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="connectionless.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="uaddrfam.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="bdesign" />
|
|
<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>Basic socket design</title>
|
|
</head>
|
|
<body id="bdesign"><a name="bdesign"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Basic socket design</h1>
|
|
<div><p>This topic provides examples of sockets programs that use the most
|
|
basic design.</p>
|
|
<p>These examples provide a basis for more complex socket
|
|
designs. These sample programs provide examples of the most common types of
|
|
socket programs.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="connectionor.htm">Create a connection-oriented socket</a></strong><br />
|
|
These server and client examples illustrate socket APIs written for a connection-oriented protocol such as Transmission Control Protocol (TCP).</li>
|
|
<li class="ulchildlink"><strong><a href="connectionless.htm">Create a connectionless socket</a></strong><br />
|
|
Connectionless sockets do not establish a connection over which data is transferred. Instead, the server application specifies its name where a client can send requests.</li>
|
|
<li class="ulchildlink"><strong><a href="uaddrfam.htm">Design applications with address families</a></strong><br />
|
|
This topic includes sample programs that illustrate each of the socket address families.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzab6soxoverview.htm" title="A socket is a communications connection point (endpoint) that you can name and address in a network.">Socket programming</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |