in reply to Network/Netmask returned by Net::Pcap's lookupnet
Which format is this in?numbers:)? What does the pcap documentation say?
update: Taking a cue from Fletch reveals (i knew to pack, but not what format):
C:\>perl -MSocket -le"print inet_ntoa( pack 'N', -1062731776 )" 192.168.0.0 C:\>perl -MSocket -le"print inet_ntoa( pack 'N', -256 )" 255.255.255.0
|
|---|