-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
getAddrInfo index out of bounds error #10198
Comments
Since this could be my first ever PR for a open source project I will leave a comment here first.
SOCK_RAW (a socket type that does not support the concept of services) I also changed 2 lines of code in
This will make raiseOSError care about additionalInfo even for errors that could not be retrieved, in the getAddrInfo example, useful error msg like |
@BontaVlad thanks, I successfully tested the change to getAddrInfo. I can add a test under tests/stdlib in your PR |
I opened PR #10210 to also add ICMPv6 - I hope you don't mind. |
sendTo() fails on a raw ICMP socket:
getAddrInfo in nativesockets.nim raises:
The text was updated successfully, but these errors were encountered: