1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

LibCore: Add CSocket::bind() (virtual) and CSocket::listen().

These will be useful for implementing server sockets.
This commit is contained in:
Andreas Kling 2019-07-26 22:39:16 +02:00
parent 2f373a27a2
commit be2b585ca6
7 changed files with 42 additions and 4 deletions

View file

@ -6,4 +6,6 @@ class CLocalSocket final : public CSocket {
public:
explicit CLocalSocket(CObject* parent = nullptr);
virtual ~CLocalSocket() override;
virtual bool bind(const CSocketAddress&) override;
};