mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 20:12:39 +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
|