mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
ed66f1d6d4
This is pretty much a find/replace copy of CLocalServer, and some modifications to CTCPSocket and CSocketAddress to support it.
14 lines
321 B
C++
14 lines
321 B
C++
#pragma once
|
|
|
|
#include <AK/Badge.h>
|
|
#include <LibCore/CSocket.h>
|
|
|
|
class CTCPServer;
|
|
|
|
class CTCPSocket final : public CSocket {
|
|
C_OBJECT(CTCPSocket)
|
|
public:
|
|
explicit CTCPSocket(CObject* parent = nullptr);
|
|
CTCPSocket(Badge<CTCPServer>, int fd, CObject* parent = nullptr);
|
|
virtual ~CTCPSocket() override;
|
|
};
|