⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classserverdemo.html

📁 C++ TCPIP and UDPIP library of classes
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>serverDemo class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.13.1 --><h1>serverDemo  Class Reference</h1>Class implements chat server. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="serverDemo_8h-source.html">serverDemo.h</a>&gt;</code><p>Inheritance diagram for serverDemo:<p><center><img src="classserverDemo__inherit__graph.gif" border="0" usemap="#serverDemo__inherit__map" alt="Inheritance graph"></center><map name="serverDemo__inherit__map"><area href="classserver.html" shape="rect" coords="30,84,78,103" alt=""><area href="classtcpip.html" shape="rect" coords="34,15,74,33" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for serverDemo:<p><center><img src="classserverDemo__coll__graph.gif" border="0" usemap="#serverDemo__coll__map" alt="Collaboration graph"></center><map name="serverDemo__coll__map"><area href="classserver.html" shape="rect" coords="257,203,305,221" alt=""><area href="classtcpip.html" shape="rect" coords="50,105,90,124" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classserverDemo.html#a0">serverDemo</a> (char *<a class="el" href="classserverDemo.html#o0">service</a>)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Default constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classserverDemo.html#a1">~serverDemo</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Default destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classserverDemo.html#a2">start</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Starts the server.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><tr><td colspan=2><br><h2>Private Attributes</h2></td></tr><tr><td nowrap align=right valign=top>char *&nbsp;</td><td valign=bottom><a class="el" href="classserverDemo.html#o0">service</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>port number.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>char *&nbsp;</td><td valign=bottom><a class="el" href="classserverDemo.html#o1">packet</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>last recived data.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Class implements chat server.<p><dl compact><dt><b>Author: </b><dd>Borys Wisniewski </dl><dl compact><dt><b>Date: </b><dd>Mon Jan 28 19:25:28 2002 </dl><p><p>Definition at line <a class="el" href="serverDemo_8h-source.html#l00043">43</a> of file <a class="el" href="serverDemo_8h-source.html">serverDemo.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="serverDemo::serverDemo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> serverDemo::serverDemo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>new_service</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Default constructor.<p>Initialize variables. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>service</em>&nbsp;</td><td>port number </td></tr></table></dl><dl compact><dt><b>Author: </b><dd>Borys Wisniewski </dl><dl compact><dt><b>Date: </b><dd>Mon Jan 28 19:25:28 2002 </dl><p>Definition at line <a class="el" href="serverDemo_8cc-source.html#l00045">45</a> of file <a class="el" href="serverDemo_8cc-source.html">serverDemo.cc</a>.<p>References <a class="el" href="serverDemo_8h-source.html#l00077">packet</a>, and <a class="el" href="serverDemo_8h-source.html#l00073">service</a>.    </td>  </tr></table><a name="a1" doxytag="serverDemo::~serverDemo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> serverDemo::~serverDemo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Default destructor.<p>Frees any allocated memory. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>service</em>&nbsp;</td><td>listen port number </td></tr></table></dl><dl compact><dt><b>Author: </b><dd>Borys Wisniewski </dl><dl compact><dt><b>Date: </b><dd>Mon Jan 28 19:25:28 2002 </dl><p>Definition at line <a class="el" href="serverDemo_8cc-source.html#l00054">54</a> of file <a class="el" href="serverDemo_8cc-source.html">serverDemo.cc</a>.<p>References <a class="el" href="serverDemo_8h-source.html#l00077">packet</a>, and <a class="el" href="serverDemo_8h-source.html#l00073">service</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a2" doxytag="serverDemo::start"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void serverDemo::start </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Starts the server.<p><dl compact><dt><b>Author: </b><dd>Borys Wisniewski </dl><dl compact><dt><b>Date: </b><dd>Mon Jan 28 19:25:28 2002 </dl><p>Definition at line <a class="el" href="serverDemo_8cc-source.html#l00063">63</a> of file <a class="el" href="serverDemo_8cc-source.html">serverDemo.cc</a>.<p>References <a class="el" href="server_8cc-source.html#l00061">server::answer</a>(), <a class="el" href="server_8cc-source.html#l00106">server::get_recived</a>(), and <a class="el" href="server_8cc-source.html#l00066">server::listenUDP</a>().<p>Referenced by <a class="el" href="main_8cc-source.html#l00047">main</a>().    </td>  </tr></table><hr><h2>Field Documentation</h2><a name="o1" doxytag="serverDemo::packet"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> char* serverDemo::packet<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>last recived data.<p><p>Definition at line <a class="el" href="serverDemo_8h-source.html#l00077">77</a> of file <a class="el" href="serverDemo_8h-source.html">serverDemo.h</a>.<p>Referenced by <a class="el" href="serverDemo_8cc-source.html#l00045">serverDemo</a>(), and <a class="el" href="serverDemo_8cc-source.html#l00054">~serverDemo</a>().    </td>  </tr></table><a name="o0" doxytag="serverDemo::service"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> char* serverDemo::service<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>port number.<p><p>Definition at line <a class="el" href="serverDemo_8h-source.html#l00073">73</a> of file <a class="el" href="serverDemo_8h-source.html">serverDemo.h</a>.<p>Referenced by <a class="el" href="serverDemo_8cc-source.html#l00045">serverDemo</a>(), and <a class="el" href="serverDemo_8cc-source.html#l00054">~serverDemo</a>().    </td>  </tr></table><hr><address><small>&copy; 2002 &nbsp; Marcin Caban 'Cabko' and Borys Wisniewski 'Boria'</small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -