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 break the server loop ?
How to break the server loop ? [message #44654] Wed, 06 May 2015 14:25 Go to previous message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
for(;;) {
TcpSocket s;
if(s.Accept(server)) {
}

In the server loop, the s.Accept will blocked the thread, So how to exit thread when program-quit ?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mt.cpp broken compile using 9604 nightly snap-shot
Next Topic: HttpRequest [FEATURE]: Add byte range request-header field (patch included)
Goto Forum:
  


Current Time: Wed May 15 06:56:42 CEST 2024

Total time taken to generate the page: 0.03256 seconds