You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use poll as a reasonably portable implementation. This takes advantage
of the existing FAKE_POLL implementation as well.
getsockopt(SO_ERROR) on Windows uses "int", removing the requirement for
any custom code for that platform.
We don't add any handling for EINTR, since it would add considerably
more code, and the connection can simply be retried. For that reason,
poll returning -1 is always an error.
0 commit comments