… | |
… | |
3302 | way (note also that glib is the slowest event library known to man). |
3302 | way (note also that glib is the slowest event library known to man). |
3303 | |
3303 | |
3304 | There is no supported compilation method available on windows except |
3304 | There is no supported compilation method available on windows except |
3305 | embedding it into other applications. |
3305 | embedding it into other applications. |
3306 | |
3306 | |
|
|
3307 | Not a libev limitation but worth mentioning: windows apparently doesn't |
|
|
3308 | accept large writes: instead of resulting in a partial write, windows will |
|
|
3309 | either accept everything or return C<ENOBUFS> if the buffer is too large, |
|
|
3310 | so make sure you only write small amounts into your sockets (less than a |
|
|
3311 | megabyte seems safe, but thsi apparently depends on the amount of memory |
|
|
3312 | available). |
|
|
3313 | |
3307 | Due to the many, low, and arbitrary limits on the win32 platform and |
3314 | Due to the many, low, and arbitrary limits on the win32 platform and |
3308 | the abysmal performance of winsockets, using a large number of sockets |
3315 | the abysmal performance of winsockets, using a large number of sockets |
3309 | is not recommended (and not reasonable). If your program needs to use |
3316 | is not recommended (and not reasonable). If your program needs to use |
3310 | more than a hundred or so sockets, then likely it needs to use a totally |
3317 | more than a hundred or so sockets, then likely it needs to use a totally |
3311 | different implementation for windows, as libev offers the POSIX readiness |
3318 | different implementation for windows, as libev offers the POSIX readiness |