Skip to content

Conversation

@ngie-eign
Copy link
Contributor

@ngie-eign ngie-eign commented Jun 24, 2020

IP_PORTRANGE* can be used for getting/setting port ranges on a per
socket basis, as opposed to a system wide basis, in conjunction with calls
like socket.getsockopt and socket.setsockopt.

This functionality is available on *BSD and Linux.

Signed-off-by: Enji Cooper [email protected]
Closes: #85280

@ngie-eign ngie-eign changed the title Add IP_PORTRANGE* constants to the socket module bpo-41108: add IP_PORTRANGE* constants to the socket module Jun 24, 2020
@ngie-eign ngie-eign force-pushed the add-more-ip_range-constants-to-socket branch from 299a942 to f73ff38 Compare June 24, 2020 21:12
@ngie-eign ngie-eign force-pushed the add-more-ip_range-constants-to-socket branch from f73ff38 to fe85b3e Compare March 10, 2021 19:14
@ngie-eign ngie-eign force-pushed the add-more-ip_range-constants-to-socket branch from afe7912 to 04831c8 Compare October 19, 2025 07:39
@ngie-eign ngie-eign force-pushed the add-more-ip_range-constants-to-socket branch from a202a0a to 71b4b4d Compare October 19, 2025 07:48
@ngie-eign ngie-eign force-pushed the add-more-ip_range-constants-to-socket branch from 71b4b4d to c128717 Compare October 28, 2025 17:28
@ngie-eign
Copy link
Contributor Author

@ZackerySpytz : fixed the issues with the news blurb. Do you have an opportunity to review this, or is someone else on the dev team available?

ngie-eign and others added 2 commits October 28, 2025 12:05
`IP_PORTRANGE*` can be used for getting/setting port ranges on a per socket
basis, as opposed to a system wide basis, in conjunction with calls like
`socket.getsockopt` and `socket.setsockopt`.

This functionality is available on \*BSD and Linux.

Signed-off-by: Enji Cooper <[email protected]>
@ngie-eign ngie-eign force-pushed the add-more-ip_range-constants-to-socket branch from c128717 to 908a86e Compare October 28, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IN module removed in python 3.x; socket doesn't fill in the gap with IP_PORTRANGE*

5 participants