Home » U++ Library support » U++ MT-multithreading and servers » how to broadcast in AsyncWebSocket?
how to broadcast in AsyncWebSocket? [message #49704] |
Sun, 08 April 2018 15:11 |
|
akebee
Messages: 90 Registered: August 2011 Location: China
|
Member |
|
|
I can "t quite understand the reference/AsyncWebSocket
i dont know how to broadcast to clients in this example
it seems that the represent connections.
so the broadcast is
for(int i = worker.GetCount() - 1; i >= 0; i--)
{
Worker& w = worker[i];
w.ws.SendText("broadcast........");
}
[Updated on: Sun, 08 April 2018 16:48] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Thu May 23 16:12:38 CEST 2024
Total time taken to generate the page: 0.01765 seconds
|