Skip to content
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

Determine AF FAMILY from getaddrinfo BEFORE socket ctor #600

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deavmi
Copy link
Contributor

@deavmi deavmi commented Nov 3, 2024

Before we call the socket.socket(...) constructor function, let us first provide self.target_ip and self.target_port to socket.getaddrinfo(...) (static function) and then get the AF family from it. Then we pass this into the ctor

Before we call the `socket.socket(...)` constructor function, let us first provide `self.target_ip` and `self.target_port` to `socket.getaddrinfo(...)` (static function) and then get the AF family from it. Then we pass this into the ctor
@deavmi deavmi mentioned this pull request Nov 3, 2024
2 tasks
@deavmi
Copy link
Contributor Author

deavmi commented Nov 6, 2024

Tests pass. Should be good to merge @markqvist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant