Skip to content

NetworkInterface on Windows XP #328

@micheleselea

Description

@micheleselea

I think there's something wrong with function NetworkInterface::Map NetworkInterface::map(bool ipOnly, bool upOnly)
when checking pAddress->Flags, if you are using poco lib compiled for
win vista and later, on a machine with winxp the function
GetAdaptersAddresses does its job but pAddress->Flags it's not
initialized so even if the network information are extracted correctly,
the code:
if (ifIndex == 0) continue;
will bypass all the networks

I think there's another problem when get subnetmask of an Ipv4 on windows xp because getBroadcastAddress can't get the correct prefix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions