mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibCore: Add API for taking over an accepted socket from SystemServer
Core::LocalSocket::take_over_accepted_socket_from_system_server() now allows you to construct a Core::LocalSocket for a pre-accepted socket when using SystemServer's new AcceptSocketConnections mode.
This commit is contained in:
parent
457a687050
commit
6bc40b20b8
Notes:
sideshowbarker
2024-07-19 05:28:09 +09:00
Author: https://github.com/awesomekling
Commit: 6bc40b20b8
2 changed files with 38 additions and 0 deletions
|
@ -35,6 +35,8 @@ class LocalSocket final : public Socket {
|
|||
public:
|
||||
virtual ~LocalSocket() override;
|
||||
|
||||
static RefPtr<LocalSocket> take_over_accepted_socket_from_system_server();
|
||||
|
||||
private:
|
||||
explicit LocalSocket(Object* parent = nullptr);
|
||||
LocalSocket(int fd, Object* parent = nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue