1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-15 12:21:00 +00:00
serenity/Servers/AudioServer
Andreas Kling f93c0dc489 LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED)
Instead of passing the PIDs back and forth in a handshake "Greet"
message, just use getsockopt(SO_PEERCRED) on both sides to get the same
information from the kernel.

This is a nice little simplification of the IPC protocol, although it
does not get rid of the handshake since we still have to pass the
"client ID" from the server to each client so they know how to refer
to themselves. This might not be necessary and we might be able to get
rid of this later on.
2019-12-06 18:39:59 +01:00
..
ASClientConnection.cpp LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
ASClientConnection.h LibIPC: Rename base classes to IClientConnection and IServerConnection 2019-12-02 11:11:05 +01:00
ASEventLoop.cpp LibIPC: Rename base classes to IClientConnection and IServerConnection 2019-12-02 11:11:05 +01:00
ASEventLoop.h LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
ASMixer.cpp AudioServer: Broadcast muted state changes to all clients 2019-11-23 17:21:12 +01:00
ASMixer.h LibIPC+AudioServer: Allow unsolicited server-to-client IPC messages 2019-11-23 16:50:21 +01:00
AudioClient.ipc AudioServer: Broadcast muted state changes to all clients 2019-11-23 17:21:12 +01:00
AudioServer.ipc LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
main.cpp Work on AudioServer 2019-07-17 09:39:31 +02:00
Makefile LibIPC+AudioServer: Allow unsolicited server-to-client IPC messages 2019-11-23 16:50:21 +01:00