Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

ServerSocket.h

Go to the documentation of this file.
00001 ///////////////////////////////////////////////////////////////////////////////////////////////
00002 /*! \file       ServerSocket.h
00003  *  \brief      Definition of the ServerSocket class for communicating to a client program.
00004  *
00005  *              The socket communications classes are based on the tutorial entitled
00006  *              "Linux Socket Programming In C++" by Rob Tougher on the Linux Gazette
00007  *              website. ( http://linuxgazette.net/issue74/tougher.html )
00008  *
00009  *  \author     Scott A. Kowalchuk
00010  *  \date       2006/11/29
00011  */////////////////////////////////////////////////////////////////////////////////////////////
00012 /*
00013  * \Status
00014  *
00015  *
00016  */
00017 /////////////////////////////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef __ServerSocket_H__
00020 #define __ServerSocket_H__
00021 
00022 #include "Socket.h"
00023 
00024 
00025 class ServerSocket : private Socket
00026 {
00027         public:
00028 
00029                 ServerSocket ( int port );
00030                 ServerSocket (){};
00031                 virtual ~ServerSocket();
00032 
00033                 const ServerSocket& operator << ( const std::string& ) const;
00034                 const ServerSocket& operator >> ( std::string& ) const;
00035 
00036                 void accept ( ServerSocket& );
00037 
00038 };
00039 
00040 
00041 #endif
00042 

Generated on Wed Sep 5 12:54:25 2007 for DSACSS Operational Code by  doxygen 1.3.9.1