12 #ifndef ECL_IO_POLL_HPP_ 13 #define ECL_IO_POLL_HPP_ 33 #define POLLRDNORM 0x0100 36 #define POLLRDBAND 0x0200 39 #define POLLIN (POLLRDNORM | POLLRDBAND) 42 #define POLLPRI 0x0400 46 #define POLLWRNORM 0x0010 49 #define POLLOUT (POLLWRNORM) 52 #define POLLWRBAND 0x0020 55 #define POLLERR 0x0001 58 #define POLLHUP 0x0002 61 #define POLLNVAL 0x0004 85 typedef unsigned long int nfds_t;
int socket_descriptor
Cross-platform typedef for a socket file descriptor.
struct pollfd socket_pollfd
ecl_io_PUBLIC int poll_sockets(socket_pollfd *fds, nfds_t nfds, int timeout)
Cross platform socket api.