barrier/net/CTCPListenSocket.h

25 lines
381 B
C
Raw Normal View History

2001-10-06 18:13:28 +04:00
#ifndef CTCPLISTENSOCKET_H
#define CTCPLISTENSOCKET_H
#include "IListenSocket.h"
class CTCPListenSocket : public IListenSocket {
public:
CTCPListenSocket();
~CTCPListenSocket();
// manipulators
// accessors
// IListenSocket overrides
virtual void bind(const CNetworkAddress&);
virtual ISocket* accept();
virtual void close();
2001-10-06 18:13:28 +04:00
private:
int m_fd;
};
#endif