1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:15:09 +00:00
serenity/Libraries/LibCore/CTCPSocket.h
Andreas Kling be2b585ca6 LibCore: Add CSocket::bind() (virtual) and CSocket::listen().
These will be useful for implementing server sockets.
2019-07-26 22:39:16 +02:00

10 lines
252 B
C++

#include <LibCore/CSocket.h>
class CTCPSocket final : public CSocket {
C_OBJECT(CTCPSocket)
public:
explicit CTCPSocket(CObject* parent = nullptr);
virtual ~CTCPSocket() override;
virtual bool bind(const CSocketAddress&) override;
};