ladybird/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

11 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;
};