zutil-cpp/net/serversocket.h

19 lines
308 B
C
Raw Normal View History

#ifndef ZUTIL_NET_SERVERSOCKET
#define ZUTIL_NET_SERVERSOCKET
#include "socket.h"
using namespace std;
namespace zutil{
class ServerSocket : protected Socket{
public:
ServerSocket( int port );
virtual ~ServerSocket(){};
Socket* accept( );
void accept( Socket& );
};
}
#endif