problem: not using official api FD_ZERO to init fd_set
solution: fix it In particular, on Windows, using FD_ZERO is much more efficient than zeroing out the whole structure.
Showing
Please
register
or
sign in
to comment
solution: fix it In particular, on Windows, using FD_ZERO is much more efficient than zeroing out the whole structure.