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