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

Add IPv4 socket option constant IP_PKTINFO as socket module attribute. #100813

Closed
dsentinel opened this issue Jan 6, 2023 · 0 comments
Closed
Labels
type-feature A feature request or enhancement

Comments

@dsentinel
Copy link
Contributor

dsentinel commented Jan 6, 2023

Feature or enhancement

Add IPv4 socket option constant IP_PKTINFO as socket module attribute.

Pitch

The socket option IP_PKTINFO is defined on Linux and OSX.
I would think we would want all the socket option constants defined in systems headers specifically <in.h> available as socket module level attributes. The most common ones are already included.

There are many other constants I would be willing to add, if desired.
In fact I'm curious if all constants should be pulled from headers dynamically.

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants