… | |
… | |
119 | (winsocket only allows 64 sockets). The FD_SETSIZE macro, set |
119 | (winsocket only allows 64 sockets). The FD_SETSIZE macro, set |
120 | before compilation, might influence the size of the fd_set used. |
120 | before compilation, might influence the size of the fd_set used. |
121 | |
121 | |
122 | EV_SELECT_IS_WINSOCKET |
122 | EV_SELECT_IS_WINSOCKET |
123 | |
123 | |
124 | When defined to 1, the select backend will assume that select |
124 | When defined to 1, the select backend will assume that |
125 | doesn't understand file descriptors but wants osf handles on |
125 | select/socket/connect etc. don't understand file descriptors but |
126 | win32 (this is the case when the select to be used is the winsock |
126 | wants osf handles on win32 (this is the case when the select to |
127 | select). This means that it will call _get_osfhandle on the fd to |
127 | be used is the winsock select). This means that it will call |
128 | convert it to an OS handle. Should not be defined on non-win32 |
128 | _get_osfhandle on the fd to convert it to an OS handle. Otherwise, |
129 | platforms. |
129 | it is assumed that all these functions actually work on fds, even |
|
|
130 | on win32. Should not be defined on non-win32 platforms. |
130 | |
131 | |
131 | EV_USE_POLL |
132 | EV_USE_POLL |
132 | |
133 | |
133 | If defined to be "1", libev will compile in support for the poll(2) |
134 | If defined to be "1", libev will compile in support for the poll(2) |
134 | backend. Otherwise it will be enabled on non-win32 platforms. It |
135 | backend. Otherwise it will be enabled on non-win32 platforms. It |