in reply to Re: IP constants from netinet/in.h in perl
in thread IP constants from netinet/in.h in perl

No I can't, it has to be pure perl without installing some 3rd party stuff. I've checked modules and it seems they all create their own constants or use C for networking, so these constants aren't probably defined anywhere in perl.
  • Comment on Re^2: IP constants from netinet/in.h in perl

Replies are listed 'Best First'.
Re^3: IP constants from netinet/in.h in perl
by Anonymous Monk on Apr 05, 2011 at 11:17 UTC
    so these constants aren't probably defined anywhere in perl.

    Probably not

    You could use h2ph / h2pl