mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 03:45:08 +00:00

The ad-hoc IPC we were doing with LookupServer was kinda gross. With this, LookupServer is a regular IPC server. In the future, we want to add more APIs for LookupServer to talk to its clients (such as DHCPClient telling LookupServer about the DNS server discovered via DHCP, and DNS-SD client browsing for services), which calls for a more expressive IPC format; this is what LibIPC is perfect for. While the LookupServer side is using the regular LibIPC mechanics and patterns, the LibC side has to hand-roll LibIPC format serialization without actually using LibIPC. We might be able to get rid of this in the future, but for now it has to be like that. The good news is the format is not that bad at all.
4 lines
48 B
Text
4 lines
48 B
Text
endpoint LookupClient = 9002
|
|
{
|
|
Dummy() =|
|
|
}
|