I'm trying to figure out if a given ip address is in any of the subnets
I'm connected to.
Normally I use the searchable ICS mailing list archive
(http://marc.theaimsgroup.com/?l=midware) as a starting point, but
unfortunately it's down at the moment.
I assume I need to iterate through all connected NICS, and calculate the
size and location of that specific subnet using the ip and netmask for
that connection, and then see if given ip address falls in that subnet?
Can anybody give me a pointer in the right direction please? Is there
any api (or ics tool) which can do the subnet calculation for me?
Thanks in advance,
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be