24.05.2011, 14:52
Quote:
A single strcmp will not work IMO.
Don't think of using the "length" parameter in strcmp, or getting the first few digits of the IP, because the length of IPs are different. If you try to get first 5 characters of the IP then it may get something like "11.12","111.2", while their actual IP is "11.123.200.1","111.213.65.30",etc.. |