-
Notifications
You must be signed in to change notification settings - Fork 188
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
What should I write instead of isBound
?
#578
Comments
Otherwise, could you release an updated version 2 that can be built with GHC 9.4 or thereabout? The latest as of now is 2.8.0.1 and it needs base < 4.17 which is kinda close. Some versions of |
Probably you can check if a socket is bound using When the socket is closed, the internal FD value becomes -1. |
Thank you, I shall try this. |
Closing. |
The package
krpc
is not building. One of the issues is that the functionisActive
:https://github.com/pxqr/krpc/blob/5c54f6570a27e1509ddf048a91bd69c05052f2f1/src/Network/KRPC/Manager.hs#L195-L201
— Wants to call
isBound
but I see from the change log that it was deprecated in 2.7 and removed in 3.0, along with other stuff related toSocketStatus
.I did not find any migration guide or the reasoning behind it being removed.
Is there a standard way to fix the function
isBound
?The text was updated successfully, but these errors were encountered: