Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
akebee is currently offline  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
Array<Worker> worker
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

 
Read Message
Read Message
Previous Topic: HttpRequest ignores server errors
Next Topic: ValueGet in Core/Rpc/Rpc.h
Goto Forum:
  


Current Time: Sun Apr 28 06:42:34 CEST 2024

Total time taken to generate the page: 0.04594 seconds