/usr/share/doc/libucommon-dev/a00161.html is in libucommon-doc 3.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>UCommon: ucc::TCPServer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00161.html">TCPServer</a>
</div>
</div>
<div class="contents">
<h1>ucc::TCPServer Class Reference</h1><!-- doxytag: class="ucc::TCPServer" --><!-- doxytag: inherits="ucc::ListenSocket" -->
<p>A generic tcp server class for <a class="el" href="a00162.html" title="A generic tcp socket class that offers i/o buffering.">TCPSocket</a>.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00189_source.html">buffer.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ucc::TCPServer:</div>
<div class="dynsection">
<div class="center"><img src="a00563.png" border="0" usemap="#ucc_1_1_t_c_p_server_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1_t_c_p_server_inherit__map" id="ucc_1_1_t_c_p_server_inherit__map">
<area shape="rect" id="node2" href="a00070.html" title="A bound socket used to listen for inbound socket connections." alt="" coords="5,83,139,112"/><area shape="rect" id="node4" href="a00151.html" title="A generic socket base class." alt="" coords="24,5,120,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ucc::TCPServer:</div>
<div class="dynsection">
<div class="center"><img src="a00564.png" border="0" usemap="#ucc_1_1_t_c_p_server_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1_t_c_p_server_coll__map" id="ucc_1_1_t_c_p_server_coll__map">
<area shape="rect" id="node2" href="a00070.html" title="A bound socket used to listen for inbound socket connections." alt="" coords="5,83,139,112"/><area shape="rect" id="node4" href="a00151.html" title="A generic socket base class." alt="" coords="24,5,120,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00161.html#a402b63490d4fbd59609fe53092619358">TCPServer</a> (const char *service, const char *<a class="el" href="a00152.html">address</a>="*", unsigned backlog=5, int protocol=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create and bind a tcp server. <a href="#a402b63490d4fbd59609fe53092619358"></a><br/></td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae392721345f444f04761959f689c8ecb"></a><!-- doxytag: member="ucc::TCPServer::TCPSocket" ref="ae392721345f444f04761959f689c8ecb" args="" -->
class </td><td class="memItemRight" valign="bottom"><b>TCPSocket</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A generic tcp server class for <a class="el" href="a00162.html" title="A generic tcp socket class that offers i/o buffering.">TCPSocket</a>. </p>
<p>This saves the service id tag so that it can be propogated. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>> </dd></dl>
<p>Definition at line <a class="el" href="a00189_source.html#l00468">468</a> of file <a class="el" href="a00189_source.html">buffer.h</a>.</p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a402b63490d4fbd59609fe53092619358"></a><!-- doxytag: member="ucc::TCPServer::TCPServer" ref="a402b63490d4fbd59609fe53092619358" args="(const char *service, const char *address="*", unsigned backlog=5, int protocol=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ucc::TCPServer::TCPServer </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>service</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>address</em> = <code>"*"</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned </td>
<td class="paramname"> <em>backlog</em> = <code>5</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>protocol</em> = <code>0</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create and bind a tcp server. </p>
<p>This mostly is used to preserve the service tag for TCP <a class="el" href="a00151.html" title="A generic socket base class.">Socket</a> when derived from a server instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>service</em> </td><td>tag to use. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>address</em> </td><td>of interface to bind or "*" for all. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>backlog</em> </td><td>size for pending connections. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>protocol</em> </td><td>to use (normally tcpip). </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00189_source.html">buffer.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:51 2010 for UCommon by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
|