You are not logged in.
Hello, I have inherited an app that uses "TWebSocketServer", it receives and sends data to all connected clients but now I need to be able to identify each client and, depending on the case, send data only to one of them and not to all of them. Is there an example to do this?
Thanks in advance.
Last edited by jars (2022-07-07 13:32:23)
Offline
ab, is there someone who can help me?
Offline
There is no such example at low-level TWebSocketServer.
There are samples about interface-based services over Websockets which does the same, but not the raw server.
It is up to you to maintain a list of connected clients and manage it.
Offline
ab, Could you give me an idea of how to deal with what you say about interface-based services over Websockets?
Thanks in advance.
Offline
Offline