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

📄 sockets_8h-source.html

📁 pwlib开发文档
💻 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>sockets.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>sockets.h</h1><a href="sockets_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>00002 <span class="comment"> * sockets.h</span>00003 <span class="comment"> *</span>00004 <span class="comment"> * Berkley Sockets classes.</span>00005 <span class="comment"> *</span>00006 <span class="comment"> * Portable Windows Library</span>00007 <span class="comment"> *</span>00008 <span class="comment"> * Copyright (c) 1993-1998 Equivalence Pty. Ltd.</span>00009 <span class="comment"> *</span>00010 <span class="comment"> * The contents of this file are subject to the Mozilla Public License</span>00011 <span class="comment"> * Version 1.0 (the "License"); you may not use this file except in</span>00012 <span class="comment"> * compliance with the License. You may obtain a copy of the License at</span>00013 <span class="comment"> * http://www.mozilla.org/MPL/</span>00014 <span class="comment"> *</span>00015 <span class="comment"> * Software distributed under the License is distributed on an "AS IS"</span>00016 <span class="comment"> * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See</span>00017 <span class="comment"> * the License for the specific language governing rights and limitations</span>00018 <span class="comment"> * under the License.</span>00019 <span class="comment"> *</span>00020 <span class="comment"> * The Original Code is Portable Windows Library.</span>00021 <span class="comment"> *</span>00022 <span class="comment"> * The Initial Developer of the Original Code is Equivalence Pty. Ltd.</span>00023 <span class="comment"> *</span>00024 <span class="comment"> * Portions are Copyright (C) 1993 Free Software Foundation, Inc.</span>00025 <span class="comment"> * All Rights Reserved.</span>00026 <span class="comment"> *</span>00027 <span class="comment"> * Contributor(s): ______________________________________.</span>00028 <span class="comment"> *</span>00029 <span class="comment"> * $Log: sockets.h,v $</span>00030 <span class="comment"> * Revision 1.14  2002/09/16 01:08:59  robertj</span>00031 <span class="comment"> * Added #define so can select if #pragma interface/implementation is used on</span>00032 <span class="comment"> *   platform basis (eg MacOS) rather than compiler, thanks Robert Monaghan.</span>00033 <span class="comment"> *</span>00034 <span class="comment"> * Revision 1.13  1998/11/30 02:51:59  robertj</span>00035 <span class="comment"> * New directory structure</span>00036 <span class="comment"> *</span>00037 <span class="comment"> * Revision 1.12  1998/09/23 06:19:58  robertj</span>00038 <span class="comment"> * Added open source copyright license.</span>00039 <span class="comment"> *</span>00040 <span class="comment"> * Revision 1.11  1998/08/21 05:25:21  robertj</span>00041 <span class="comment"> * Added ethernet socket in right place this time.</span>00042 <span class="comment"> *</span>00043 <span class="comment"> * Revision 1.10  1998/08/20 06:02:35  robertj</span>00044 <span class="comment"> * Added direct ethernet socket type.</span>00045 <span class="comment"> *</span>00046 <span class="comment"> * Revision 1.9  1996/10/08 13:05:38  robertj</span>00047 <span class="comment"> * More IPX support.</span>00048 <span class="comment"> *</span>00049 <span class="comment"> * Revision 1.8  1996/09/14 13:09:44  robertj</span>00050 <span class="comment"> * Major upgrade:</span>00051 <span class="comment"> *   rearranged sockets to help support IPX.</span>00052 <span class="comment"> *   added indirect channel class and moved all protocols to descend from it,</span>00053 <span class="comment"> *   separating the protocol from the low level byte transport.</span>00054 <span class="comment"> *</span>00055 <span class="comment"> * Revision 1.7  1996/08/08 10:08:53  robertj</span>00056 <span class="comment"> * Directory structure changes for common files.</span>00057 <span class="comment"> *</span>00058 <span class="comment"> * Revision 1.6  1996/05/15 10:13:15  robertj</span>00059 <span class="comment"> * Added ICMP protocol socket, getting common ancestor to UDP.</span>00060 <span class="comment"> *</span>00061 <span class="comment"> * Revision 1.5  1995/06/04 12:36:55  robertj</span>00062 <span class="comment"> * Added application layer protocol sockets.</span>00063 <span class="comment"> *</span>00064 <span class="comment"> * Revision 1.4  1994/08/23 11:32:52  robertj</span>00065 <span class="comment"> * Oops</span>00066 <span class="comment"> *</span>00067 <span class="comment"> * Revision 1.3  1994/08/22  00:46:48  robertj</span>00068 <span class="comment"> * Added pragma fro GNU C++ compiler.</span>00069 <span class="comment"> *</span>00070 <span class="comment"> * Revision 1.2  1994/08/21  23:43:02  robertj</span>00071 <span class="comment"> * Added telnet.</span>00072 <span class="comment"> *</span>00073 <span class="comment"> * Revision 1.1  1994/07/25  03:36:03  robertj</span>00074 <span class="comment"> * Initial revision</span>00075 <span class="comment"> *</span>00076 <span class="comment"> * Revision 1.3  1994/07/21  12:17:41  robertj</span>00077 <span class="comment"> * Sockets.</span>00078 <span class="comment"> *</span>00079 <span class="comment"> * Revision 1.2  1994/06/25  12:27:39  robertj</span>00080 <span class="comment"> * *** empty log message ***</span>00081 <span class="comment"> *</span>00082 <span class="comment"> * Revision 1.1  1994/04/01  14:38:42  robertj</span>00083 <span class="comment"> * Initial revision</span>00084 <span class="comment"> *</span>00085 <span class="comment"> */</span>00086 00087 <span class="preprocessor">#ifndef _SOCKETS_H</span>00088 <span class="preprocessor"></span><span class="preprocessor">#define _SOCKETS_H</span>00089 <span class="preprocessor"></span>00090 <span class="preprocessor">#ifdef P_USE_PRAGMA</span>00091 <span class="preprocessor"></span><span class="preprocessor">#pragma interface</span>00092 <span class="preprocessor"></span><span class="preprocessor">#endif</span>00093 <span class="preprocessor"></span>00094 00096 <span class="comment">// PSocket</span>00097 00098 <span class="preprocessor">#include &lt;<a class="code" href="socket_8h.html">ptlib/socket.h</a>&gt;</span>00099 00100 00102 <span class="comment">// PIPSocket</span>00103 00104 <span class="preprocessor">#include &lt;<a class="code" href="ipsock_8h.html">ptlib/ipsock.h</a>&gt;</span>00105 00106 00108 <span class="comment">// PIPDatagramSocket</span>00109 00110 <span class="preprocessor">#include &lt;<a class="code" href="ipdsock_8h.html">ptlib/ipdsock.h</a>&gt;</span>00111 00112 00114 <span class="comment">// PUDPSocket</span>00115 00116 <span class="preprocessor">#include &lt;<a class="code" href="udpsock_8h.html">ptlib/udpsock.h</a>&gt;</span>00117 00118 00120 <span class="comment">// PICMPSocket</span>00121 00122 <span class="preprocessor">#include &lt;<a class="code" href="icmpsock_8h.html">ptlib/icmpsock.h</a>&gt;</span>00123 00124 00126 <span class="comment">// PTCPSocket</span>00127 00128 <span class="preprocessor">#include &lt;<a class="code" href="tcpsock_8h.html">ptlib/tcpsock.h</a>&gt;</span>00129 00130 00131 <span class="preprocessor">#ifdef PIPX</span>00132 <span class="preprocessor"></span>00134 <span class="comment">// PIPXSocket</span>00135 00136 <span class="preprocessor">#include &lt;<a class="code" href="ipxsock_8h.html">ptlib/ipxsock.h</a>&gt;</span>00137 00138 00140 <span class="comment">// PSPXSocket</span>00141 00142 <span class="preprocessor">#include &lt;<a class="code" href="spxsock_8h.html">ptlib/spxsock.h</a>&gt;</span>00143 00144 <span class="preprocessor">#endif // PIPX</span>00145 <span class="preprocessor"></span>00146 00148 <span class="comment">// PEthSocket</span>00149 00150 <span class="preprocessor">#include &lt;<a class="code" href="ethsock_8h.html">ptlib/ethsock.h</a>&gt;</span>00151 00152 00153 <span class="preprocessor">#endif // _SOCKETS_H</span>00154 <span class="preprocessor"></span>00155 00156 <span class="comment">// End Of File ///////////////////////////////////////////////////////////////</span></pre></div><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:12 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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