WebSocket-Sharp (C#) - How to check which client disconnected?

625 views Asked by At

I have a simple chat app written with WebSocket-Sharp. Each of the clients has a unique ID (UID-<6 random numbers 0-9>-@)

My question is if one of the clients disconnects, then how do I know which one of them disconnected? Like I have a List ConnectedClients which contains all of the unique IDs and I want to update that list... how can I do that? Any help would be appreciated.

0

There are 0 answers