mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-30 06:33:54 +03:00
57fb87ad10
now derive from ISocket.
21 lines
355 B
C++
21 lines
355 B
C++
#ifndef CTCPSOCKETFACTORY_H
|
|
#define CTCPSOCKETFACTORY_H
|
|
|
|
#include "ISocketFactory.h"
|
|
|
|
class CTCPSocketFactory : public ISocketFactory {
|
|
public:
|
|
CTCPSocketFactory();
|
|
virtual ~CTCPSocketFactory();
|
|
|
|
// manipulators
|
|
|
|
// accessors
|
|
|
|
// ISocketFactory overrides
|
|
virtual IDataSocket* create() const;
|
|
virtual IListenSocket* createListen() const;
|
|
};
|
|
|
|
#endif
|