[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Storing IP Addresses
- Subject: [ale] Storing IP Addresses
- From: cfowler at outpostsentinel.com (Christopher Fowler)
- Date: Wed, 19 Sep 2001 22:05:57 -0400
I need a little help getting IPs I store in a config out.
Currently I store them in char ip[4].
ip[0] = 192
ip[2] = 168
ip[3] = 2
ip[4] = 230
I access them the same way and it is somewhat painful. Is there a better
way? How can I treat the IP address as a 32bit integer?
Thanks,
Chris
---
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.