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 create sockets that don't block the GUI?
Re: How to create sockets that don't block the GUI? [message #42085 is a reply to message #42082] Tue, 18 February 2014 12:00 Go to previous messageGo to previous message
ManfredHerr is currently offline  ManfredHerr
Messages: 67
Registered: February 2013
Location: Germany
Member
If we´re not talking client server model then why do you try to use the server concept for data transfer? Sockets can be read like a file. If you try to read a huge file in a GUI application then your GUI is inresponsive as long as you read the file. For your intensive data stream the same happens. As long as data is coming in the process is busy; too busy to process User Input. One option is to control the data stream by something like XON/XOFF. So you can handle the User Input with equal or even higher priority than data transfer.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WebSockets non blocking mode?
Next Topic: SKYLARK js: I offer that we expanded the UxGet function a little with parameter callback
Goto Forum:
  


Current Time: Sun May 05 04:25:55 CEST 2024

Total time taken to generate the page: 0.02057 seconds