You are not logged in.
Hi guys.
Using the websocket example (Project31ChatServer and Project31ChatClient) I wish I could send asynchronous messages from the server side to each cliente subscripted to the server.
Is there some example to do that?
Thanks in advance.
Offline
Hi,
There are many ways to achive this. Use server jobs with TSynBackgroundThreadProcess to send messages to each WebSocket registered client .
See here : http://synopse.info/files/html/api-1.18 … EADPROCESS
Last edited by turrican (2016-10-14 11:42:11)
Offline
Thanks Turrican.
What I need is to identify each client to send several packets to one and others times send the some packets to all clients.
Offline
Hi Turrican,
How can I save some data from each client session?
Offline