hello,
I cut this statement from Net::RawIP documentation and The Author said :
"The IPKEY is one of they (version ihl tos tot_len id frag_off ttl protocol check saddr daddr). You can to specify all parameters,even check.If you do not specify parameter, then value by default will be used. Of course the checksum will be calculated if you do not specify non-zero value for it. The values of the saddr and the daddr can be like www.oracle.com or 205.227.44.16, even they can be an integer if you know what is 205.227.44.16 as an unsigned int in the host format"
And my question is like "how to convert 202.227.44.16 (just example) to unsigned int format ?"
sorry for my english, thanks
zak
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.