root/vtcross/branches/trnewman/src/socket/ServerSocket.h @ 35

Revision 35, 413 bytes (checked in by trnewman, 16 years ago)

adding c++

Line 
1// Definition of the ServerSocket class
2
3#ifndef ServerSocket_class
4#define ServerSocket_class
5
6#include "Socket.h"
7
8
9class ServerSocket : private Socket
10{
11 public:
12
13  ServerSocket ( int port );
14  ServerSocket (){};
15  virtual ~ServerSocket();
16
17  const ServerSocket& operator << ( const std::string& ) const;
18  const ServerSocket& operator >> ( std::string& ) const;
19
20  void accept ( ServerSocket& );
21
22};
23
24
25#endif
Note: See TracBrowser for help on using the browser.