-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request documentation on poll_fd to be updated #4319
Comments
|
So, if I am using poll_fd on sockets, and I need to write portable code, should it should be something like
where |
@loladiro what do you suggest? |
@loladiro , can you confirm if |
Other than the fact that UV_READABLE and UV_WRITABLE are no longer required, the type of
fd
is not very clear.I am guessing
fd
is aRawFD
. Will it be the same for a Windows socket too? Or is it aWindowsRawSocket
type. WhileWindowsRawSocket
is exported, I don't see a constructor for the same, as exists forRawFD
.The text was updated successfully, but these errors were encountered: