Skip to content

Add socket constant IPV6_HDRINCL and maybe others #141817

@Rosuav

Description

@Rosuav

Feature or enhancement

Proposal:

# Currently:
sock.setsockopt(socket.IPPROTO_IPV6, 36, 1)
# Proposed:
sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_HDRINCL, 1)

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

https://discuss.python.org/t/adding-new-socket-options-specifically-socket-ipv6-hdrincl/104964

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions