doctor_moron has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unsigned int in the host format and raw socket
by ikegami (Patriarch) on Jun 30, 2005 at 17:26 UTC | |
by doctor_moron (Scribe) on Jun 30, 2005 at 18:32 UTC | |
by ikegami (Patriarch) on Jun 30, 2005 at 18:47 UTC | |
by doctor_moron (Scribe) on Jun 30, 2005 at 19:07 UTC | |
|
Re: unsigned int in the host format and raw socket
by polettix (Vicar) on Jul 01, 2005 at 02:06 UTC |