Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

SocketAddress.cxx

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++/SocketAddress.cxx,v 1.6 2002/08/29 00:58:04 hopper Exp $ */
00020 
00021  // For a log, see ./ChangeLog
00022  //
00023  // Revision 1.3  1996/02/20 01:05:52  hopper
00024  // Added some niceties to GNUmakefile.in
00025  // Changed SocketAddress.cc to use new #include convention.
00026  //
00027  // Revision 1.2  1996/02/12 00:32:38  hopper
00028  // Fixed to use the new C++ standard library string class instead of all the
00029  // 'NetString' silliness.
00030  //
00031  // Revision 1.1.1.1  1995/07/23 17:45:29  hopper
00032  // Imported sources
00033  //
00034  // Revision 0.2  1995/01/06  14:05:29  hopper
00035  // Merged 0.1.0.5 and 0.1
00036  //
00037  // Revision 0.1.0.5  1995/01/06  14:00:13  hopper
00038  // Put some changes in to make this work under OS/2 again.
00039  //
00040  // Revision 0.1.0.4  1994/08/12  17:06:26  hopper
00041  // Changed to use NetString class. The NetString class handles all library
00042  // dependencies.
00043  //
00044  // Revision 0.1.0.3  1994/07/18  03:30:20  hopper
00045  // Added a #pragma implementation line so it would work better with gcc 2.6.0
00046  //
00047  // Revision 0.1.0.2  1994/05/08  18:32:47  hopper
00048  // Changed to work better with Rogue Wave classes.
00049  //
00050  // Revision 0.1.0.1  1994/05/08  18:12:18  hopper
00051  // Head of WinterFire branch. Changed all instances of String with
00052  // RWCString.
00053  //
00054  // Revision 0.1  1994/05/03  03:23:38  hopper
00055  // Initial revision.
00056  //
00057 
00058  // $Revision: 1.6 $
00059 
00060 #ifdef __GNUG__
00061 #  pragma implementation "SocketAddress.h"
00062 #endif
00063 
00064 #ifndef OS2
00065 #  include "EHnet++/SocketAddress.h"
00066 #else
00067 #  include "sockaddr.h"
00068 #endif
00069 
00070 #include <iostream>
00071 
00072 namespace strmod {
00073 namespace ehnet {
00074 
00075 void SocketAddress::PrintOn(::std::ostream &os)
00076 {
00077    os << AsString();
00078 }
00079 
00080 } // end namespace ehnet
00081 } // end namespace lcore

Generated on Wed Jan 29 00:32:44 2003 for libNet by doxygen1.3-rc1