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 » Socket: how to check wether new data arrived? timeout = NULL?
Socket: how to check wether new data arrived? timeout = NULL? [message #7136] Fri, 15 December 2006 12:11 Go to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Hi all,

i found Socket::Wait to wait for something to happen by doing a select.

but then it just returns wether something happend, not what!
is there a method like bool NewData() using FD_ISSET?

or is the only possibility to do a peek at all of them with a timeout of 0?

Is there a way to wait forever? in other words how to pass NULL as timeout to select?

Bas
 
Read Message
Read Message
Read Message
Previous Topic: SmtpMail class
Next Topic: SSLSocket VerifyPeer -> how to set trusted CAs?
Goto Forum:
  


Current Time: Fri May 03 22:05:16 CEST 2024

Total time taken to generate the page: 0.02706 seconds