1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 17:51:01 +00:00
serenity/Userland/Services/LookupServer
Andreas Kling 6d0f504822 LibIPC: Add IPC::MultiServer convenience class
This encapsulates what our multi-client IPC servers typically do on
startup:

    1. Create a Core::LocalServer
    2. Take over a listening socket file descriptor from SystemServer
    3. Set up an accept handler for incoming connections

IPC::MultiServer does all this for you! All you have to do is provide
the relevant client connection type as a template argument.
2021-12-06 19:22:16 +01:00
..
ClientConnection.cpp LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
ClientConnection.h Services: Fix visibility of Object-derivative constructors 2021-11-02 22:56:53 +01:00
CMakeLists.txt LookupServer: Port to LibMain :^) 2021-11-23 15:44:59 +01:00
DNSAnswer.cpp AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DNSAnswer.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DNSName.cpp AK+Everywhere: Stop including Vector.h from StringView.h 2021-11-10 21:58:58 +01:00
DNSName.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DNSPacket.cpp Services: Remove unused header includes 2021-08-01 08:10:16 +02:00
DNSPacket.h LookupServer: Correct some flags for DNS packets 2021-05-10 17:26:17 +02:00
DNSPacketHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSQuestion.h LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
DNSServer.cpp LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
DNSServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LookupClient.ipc Userland: Remove dummy IPC methods 2021-06-24 00:38:58 +02:00
LookupServer.cpp LibIPC: Add IPC::MultiServer convenience class 2021-12-06 19:22:16 +01:00
LookupServer.h LibIPC: Add IPC::MultiServer convenience class 2021-12-06 19:22:16 +01:00
LookupServer.ipc LibC+LookupServer: Use u32 for the endpoint magic 2021-11-05 00:17:01 +03:30
main.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
MulticastDNS.cpp AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional) 2021-11-17 00:21:10 +01:00
MulticastDNS.h Everywhere: Add braces to aggregate initializers 2021-07-08 10:11:00 +02:00