00001 /* 00002 * Copyright 1991-2002 Eric M. Hopper <hopper@omnifarious.org> 00003 * 00004 * This program is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU Lesser General Public License as published 00006 * by the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, but 00010 * WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00019 /* $Header: /home/hopper/src/cvs/C++/EHnet++/NET_ClassIdent.cxx,v 1.4 2002/09/10 12:06:53 hopper Exp $ */ 00020 00021 // For a log, see ChangeLog 00022 // 00023 // Revision 1.1 1996/02/12 03:01:43 hopper 00024 // Added links to my ClassIdent system. 00025 // 00026 00027 #ifdef __GNUG__ 00028 # pragma implementation "NET_ClassIdent.h" 00029 #endif 00030 00031 #include "EHnet++/NET_ClassIdent.h" 00032 00033 namespace strmod { 00034 00035 /** Some classes to handle network addresses, should be overhauled 00036 * 00037 * The only notable classes in here are SocketAddress and InetAddress. 00038 * SocketAddress represents a generic network address that can be fed in as the 00039 * argument to a 'connect' or 'bind' system call. InetAddress represents an 00040 * IPV4 address. 00041 * 00042 * If these were really well done, I'd have IPV4Address, IPV4TCPAddress, and 00043 * IPV4tUDPAddress. Then IPV4Address wouldn't have a port number, and the other 00044 * two would. But, as mention previously, these classes desparately need 00045 * overhauling, not the least because they use DNS synchronously and can 00046 * mysteriously halt your program waiting for DNS queries to resolve. 00047 * 00048 */ 00049 namespace ehnet { 00050 00051 const NET_ClassIdent NET_ClassIdent::identifier(0UL); 00052 00053 } // end namespace ehnet 00054 } // end namespace lcore 00055 00056 // SocketAddress 1UL 00057 // InetAddress 2UL
1.3-rc1