in reply to Re: Net::Libdnet 0.01 does not work under Window 7
in thread Net::Libdnet 0.01 does not work under Window 7
first, thank you for your assistance regarding my PerlMonk question!
I have "installed" and tried with your module W32::Interfaces. After some typos were corrected in the sample you kindly posted, that code can finally work on my Win7 PC (see output in my mail I have sent you).
You wrote in the module's description:
>> A better approach may be to use XS with GetAdaptersAddresses() and parse the
>> IP_ADAPTER_ADDRESSES structure. Alas, that is proving difficult to do.
With my sample get_adapters_info.pl attached in the mail, you can use IP Helper API and Windows Registry without need to base upon Windows system commands (without CLI interface currently used in your module interfaces.pm). I believe, it is an elegant solution you are looking for.
Best regards,
perlusr193 (a PerlMonk)
|
|---|