Subject: How can I get the local machine's netmask programmatically?
From: wolfram <wolframarnold gmail.com>
Date: Thu, 14 Jun 2007 05:30:13 +0900
I'm working on a Rails app that needs to restrict certain privileged
operations/requests to only those requests that originate from within
the local subnet.
How can I find out the machine's netmask programmatically?
Thanks,
Wolf