commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Katz <gk...@allot.com>
Subject RE: [off topic] IP String to Integer function?
Date Wed, 11 Aug 2004 10:00:37 GMT
hi;
i am looking for something that breaks the IP string  to its 4 pieces and
uses logical shifts << to create the integer.
i thought there is a standard for this.

-----Original Message-----
From: Rommel Sharma [mailto:rommels@mahindrabt.com]
Sent: Wednesday, August 11, 2004 11:00 AM
To: Jakarta Commons Users List
Subject: Re: [off topic] IP String to Integer function?



Hi,
What is the exact requirement? Resolve the hostname to the numeric IP
Address? Or to convert the numeric IP address to some integer, and on what
basis?
Regards,
Rommel Sharma.

----- Original Message ----- 
From: "Guy Katz" <gkatz@allot.com>
To: "'Jakarta Commons Users List'" <commons-user@jakarta.apache.org>
Sent: Wednesday, August 11, 2004 3:13 PM
Subject: [off topic] IP String to Integer function?


> hi all;
> i am looking for a function shich converts an IP string (xxx.xxx.xxx.xxx)
to
> an Integer.
> is there such a function available somewhere?
> thanks,
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


*********************************************************
Disclaimer:          

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message