tcpip_8h-source.html

来自「C++ TCPIP and UDPIP library of classes」· HTML 代码 · 共 30 行

HTML
30
字号
<!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>tcpip.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.13.1 --><h1>tcpip.h</h1><a href="tcpip_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 00038 <font class="preprocessor">#if !defined tcpip_exists</font>00039 <font class="preprocessor"></font><font class="preprocessor">#define tcpip_exists</font><a name="l00040"></a><a class="code" href="classtcpip.html">00040</a> <font class="preprocessor"></font><font class="keyword">class </font><a class="code" href="classtcpip.html">tcpip</a>00041 {00042  <font class="keyword">public</font>:00049   <a class="code" href="classtcpip.html#a0">tcpip</a> ();00056   <a class="code" href="classtcpip.html#a1">~tcpip</a> ();00057  <font class="keyword">protected</font>:00066   <font class="keywordtype">int</font> <a class="code" href="classtcpip.html#b0">connectTCP</a> (<font class="keywordtype">char</font>* host, <font class="keywordtype">char</font>* service);00075   <font class="keywordtype">int</font> <a class="code" href="classtcpip.html#b1">connectUDP</a> (<font class="keywordtype">char</font>* host, <font class="keywordtype">char</font>* service);00084   <font class="keywordtype">int</font> <a class="code" href="classtcpip.html#b2">passiveTCP</a> (<font class="keywordtype">char</font>* service, <font class="keywordtype">int</font> qlen);00092   <font class="keywordtype">int</font> <a class="code" href="classtcpip.html#b3">passiveUDP</a> (<font class="keywordtype">char</font>* service);00093  <font class="keyword">private</font>:<a name="l00099"></a><a class="code" href="classtcpip.html#o0">00099</a>   <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font> <font class="keywordtype">int</font>  <a class="code" href="classtcpip.html#o0">portbase</a>;00109   <font class="keywordtype">int</font> <a class="code" href="classtcpip.html#c0">connectsock</a> (<font class="keywordtype">char</font>* host, <font class="keywordtype">char</font>* service, <font class="keywordtype">char</font>* protocol);00119   <font class="keywordtype">int</font> <a class="code" href="classtcpip.html#c1">passivesock</a> (<font class="keywordtype">char</font>* service, <font class="keywordtype">char</font>* protocol, <font class="keywordtype">int</font> qlen);00120 };00121 <font class="preprocessor">#endif</font>00122 <font class="preprocessor"></font></pre></div><hr><address><small>&copy; 2002 &nbsp; Marcin Caban 'Cabko' and Borys Wisniewski 'Boria'</small></address></body></html>

⌨️ 快捷键说明

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