mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-21 12:07:04 +02:00
fully replaced gui/daemon named pipes ipc with tcp ipc.
This commit is contained in:
parent
79d73bd163
commit
7d5fbde71d
25 changed files with 315 additions and 399 deletions
|
@ -57,13 +57,15 @@ CIpcServer::handleClientConnecting(const CEvent&, void*)
|
|||
if (stream == NULL) {
|
||||
return;
|
||||
}
|
||||
// when there is already a client connected, this causes stack overflow,
|
||||
//
|
||||
LOG((CLOG_NOTE "accepted ipc client connection"));
|
||||
|
||||
// TODO: delete on disconnect
|
||||
CIpcClientProxy* proxy = new CIpcClientProxy(*stream);
|
||||
m_clients.insert(proxy);
|
||||
|
||||
EVENTQUEUE->addEvent(CEvent(getClientConnectedEvent(), this, proxy));
|
||||
EVENTQUEUE->addEvent(CEvent(getClientConnectedEvent(), this, proxy, CEvent::kDontFreeData));
|
||||
}
|
||||
|
||||
CEvent::Type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue