[ale] IP Calculations

tewkewl at mindspring.com tewkewl at mindspring.com
Fri Dec 14 15:23:33 EST 2001


do you mean standards based?

I mean here at work, we use 10.x ip's with 255.255.240.0 netmasks.  so depending on what you're writing this application for, be careful to not assume too much.

just $.02 to think about.

-Patrick

cfowler at outpostsentinel.com wrote:
> If someone gives me an IP address in the form of "192.168.4.6" , a string, is there an easy way I can calculate the netmask, and broadcast of that address?  I'm doing this in C.

Thanks,
Chris Fowler



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list