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:
parent
dc200923f2
commit
2f35e54f80
12 changed files with 177 additions and 1 deletions
17
Kernel/LocalSocket.h
Normal file
17
Kernel/LocalSocket.h
Normal 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;
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue