[ale] C question

Vaidhyanathan Mayilrangam vaidhy at loonys.net
Tue Sep 19 16:50:20 EDT 2000


IIRC, it is the number in hex.. 8 digits, each of the two digits match to the
each segment of the IP and netmask..

Regards,
Vaidhy

On Tue, Sep 19, 2000 at 04:51:26PM -0400, Ken Nagorski wrote:
> Hi,
> 
> 	I have a question for the C guru's. This si my story. I can't use
> perl. and I don't really have access to a shell, I need to write a C
> program that can collect a little data and run the ifconfig
> command. Pretty simple really thanks to C's built in
> system() function. However this is my problem. I need to collect the IP
> address, and the netmask. It's not really a number? Is it a character 
> array? Will that work when I pass a character array to the system
> function? 
> 
> 	Any thoughts our suggestions would be great. 
> 
> Thanks
> Kenn
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list