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 » WebSockets non blocking mode?
WebSockets non blocking mode? [message #47074] Mon, 28 November 2016 23:06 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

TcpSocket supports non blocking mode along with SocketWaitEvent class to wait for multiple sockets simultaneously. I couldn't find a way to asynchronously read incoming data with WebSocket as well as couldn't find a way to wait for multiple WebSockets until one of them receives a message. So I have to create one thread per each WebSocket which is really bad decision for production server with 1000+ connections. Does U++ lack async WebSOcket support, or my approach is totally wrong here?
Thanks in forward.

[Updated on: Tue, 29 November 2016 12:03]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: bug in CoWork since C++11
Next Topic: How to create sockets that don't block the GUI?
Goto Forum:
  


Current Time: Thu Apr 18 15:18:28 CEST 2024

Total time taken to generate the page: 0.02322 seconds