Yes. Then for netmasks I suppose another array which matches positionally can be used (to loop over both, use Array.sum_arrays). I'm not sure what wold be the best way to represent a v6 netmask though. A string on the format "/64" perhaps?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-09-11 23:57: Subject: gethostip
..and name it x->ips
/ Martin Nilsson (DivX Networks)