Skip to content

Can we have windows in_addr and friends back? #45

@dimbleby

Description

@dimbleby

c4d4c70 removed a bunch of Windows-specific stuff, the view presumably being that it all better belonged in winapi.

Did this overshoot, though, in removing in_addr and friends? Is in_addr really a Windows-specific API?

For those of us trying to write cross-platform low-level code it's a right pain to have to deal with a libc::in_addr on unix and whatever the winapi equivalent is on windows.

Specifically the ones that I care about are the in_addr, in6_addr, sockaddr, sockaddr_in and sockaddr_in6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions