I want to know how can I write a program that get two ips from client and convert them to binary then add it to its subnet mask .
one answer in this site exists , but it does not work !
2 Replies - 248 Views - Last Post: 07 December 2012 - 03:41 AM
Replies To: problem : Are two ips in the same network or not ?
Re: problem : Are two ips in the same network or not ?
Posted 07 December 2012 - 03:16 AM
You can forget 'binary' - that[s just a String thing. All you need is the ip address as a number then you can do bitwise operations on it:
Page 1 of 1