#pragma once #include #include class CTCPServer; class CTCPSocket final : public CSocket { C_OBJECT(CTCPSocket) public: explicit CTCPSocket(CObject* parent = nullptr); CTCPSocket(Badge, int fd, CObject* parent = nullptr); virtual ~CTCPSocket() override; };