mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
LibCore: Port CoreIPCServer to using CLocalServer.
Use CLocalServer to listen for connections in WindowServer and AudioServer. This allows us to accept incoming CLocalSocket objects from the CLocalServer and construct client connections based on those. Removed COpenedSocket since it's replaced by CLocalSocket.
This commit is contained in:
@@ -39,8 +39,8 @@ WSClientConnection* WSClientConnection::from_client_id(int client_id)
|
||||
return (*it).value;
|
||||
}
|
||||
|
||||
WSClientConnection::WSClientConnection(int fd, int client_id)
|
||||
: Connection(fd, client_id)
|
||||
WSClientConnection::WSClientConnection(CLocalSocket& client_socket, int client_id)
|
||||
: Connection(client_socket, client_id)
|
||||
{
|
||||
if (!s_connections)
|
||||
s_connections = new HashMap<int, WSClientConnection*>;
|
||||
|
||||
Reference in New Issue
Block a user