Re: How to manipulate IP addresses

From: Roedy Green (look-on_at_mindprod.com.invalid)
Date: 06/29/04


Date: Tue, 29 Jun 2004 16:49:17 GMT

On Tue, 29 Jun 2004 19:36:22 +1000, Nick Coleman
<spambucketPokeMyEyesOuteyeeye@iinet.net.au> wrote or quoted :

>For example, I would like to provide an IP address, apply a netmask, and
>come up with valid network addresses, valid host addresses, broadcast
>address, etc, in dotted decimal form.

once you have the int, the code to display it as a dotted quad is
posted at http://mindprod.com/jgloss/ip.html#DISPLAYING

-- 
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming. 
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.