From: Shiwei Zhang Date: 2007-01-12T13:28:26+09:00 Subject: Re: Get the subnet mask Daniel Berger wrote: > David Corticchiato wrote: > >> Hi, >> >> Is there another way of getting my subnet mask without parsing >> ipconfig/ifconfig ? >> >> David. >> > > There's IPAddr#mask, from the 'ipaddr' library (part of the stdlib). > Does that help? > > Regards, > > Dan > IPAddr#mask can't meet this requirement I think. If the methods for these kinds of requirements (e.g., to get Subnet Mask, Ip Addr of the local machine) are not available for now, should we provide them in the near future?