mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:47:36 +00:00
LibIPC: Stop sending client ID to clients
The client ID is not useful to normal clients anymore, so stop telling everyone what their ID is.
This commit is contained in:
parent
a5bbe3280d
commit
1ce03f4f34
29 changed files with 27 additions and 42 deletions
|
@ -49,17 +49,11 @@ public:
|
|||
|
||||
virtual void handshake() = 0;
|
||||
|
||||
void set_my_client_id(int id) { m_my_client_id = id; }
|
||||
int my_client_id() const { return m_my_client_id; }
|
||||
|
||||
virtual void die() override
|
||||
{
|
||||
// Override this function if you don't want your app to exit if it loses the connection.
|
||||
exit(0);
|
||||
}
|
||||
|
||||
private:
|
||||
int m_my_client_id { -1 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue