1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:17:34 +00:00

Kernel: Begin implementing UNIX domain sockets.

This commit is contained in:
Andreas Kling 2019-02-14 14:17:38 +01:00
parent dc200923f2
commit 2f35e54f80
12 changed files with 177 additions and 1 deletions

17
Kernel/LocalSocket.h Normal file
View file

@ -0,0 +1,17 @@
#pragma once
#include <Kernel/Socket.h>
#include <Kernel/DoubleBuffer.h>
class LocalSocket final : public Socket {
public:
static RetainPtr<LocalSocket> create(int type);
virtual ~LocalSocket() override;
private:
explicit LocalSocket(int type);
DoubleBuffer m_for_client;
DoubleBuffer m_for_server;
};