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 |
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
|
|
|
Goto Forum:
Current Time: Fri May 03 22:05:16 CEST 2024
Total time taken to generate the page: 0.02706 seconds
|