LRAUV  revA
SocketServer.h
Go to the documentation of this file.
1 
9 #ifndef SOCKETSERVER_H_
10 #define SOCKETSERVER_H_
11 
12 #include "Socket.h"
13 
19 class SocketServer : public Socket
20 {
21 public:
22  SocketServer( int port ) throw( SocketException );
24  {}
25  virtual ~SocketServer()
26  {}
27  void accept( SocketServer& ) throw( SocketException );
28 
30  void accept( SocketServer& newSocket, int timeoutMillis ) throw( SocketException );
31 };
32 
33 
34 #endif /*SOCKETSERVER_H_*/
A wrapper around sys/socket.h for tcp communications between Socket instances – use daughter classes...
Definition: Socket.h:33
Definition: SocketException.h:6
void accept(SocketServer &)
Definition: SocketServer.cpp:21
virtual ~SocketServer()
Definition: SocketServer.h:25
Implements a listening Socket server.
Definition: SocketServer.h:19
SocketServer()
Definition: SocketServer.h:23
Contains the Socket class declaration.