![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Check for descriptors that are ready for reading or writing (via a SOCKS server)
int Rselect( int width,
fd_set * readfds,
fd_set * writefds,
fd_set * exceptionfds,
struct timeval * timeout );
(highest valued file descriptor in the sets) +1
libsocks
Use the -l socks option to qcc to link against this library.
The Rselect() function is a cover function for select() -- the difference is that Rselect() does its job via a SOCKS server.
For more information about SOCKS and its libraries, see the appendix, SOCKS -- A Basic Firewall.
The number of ready descriptors in the descriptor sets, 0 if the timeout expired, or -1 if an error occurs (errno is set).
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |