Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Another way of specifying an IP address in Cocoa apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way of specifying an IP address in Cocoa apps
Authored by: jeb on May 28, '03 12:33:56PM
This isn't specific to Cocoa apps. I used to test this as an exploit to get around CyberNanny and similar software that blocked sites by name and x.x.x.x IP. They almost never blocked the denary IP. My method was a little different. I would turn each segment into binary, concatenate them, then convert that large string into a single denary number.

207.44.210.206

207 = 11001111
44   = 00101100 (note the "padding zeros")
210 = 11010010
206 = 11001110

207.44.210.206 --> 11001111001011001101001011001110
which converts to 3475821262.
Your way is easier. For those of you that get bent out of shape by these types of things:
denary
adj 1: containing ten or ten parts [syn: tenfold]
2: numbered or proceeding by tens; based on ten;
  "the decimal system" [syn: decimal]


[ Reply to This | # ]
Re: Those of us who get bent out of shape
Authored by: aogail on May 28, '03 01:05:14PM

You should have used 'who': "For those of you who get bent out of shape..." ;)



[ Reply to This | # ]
Re: Those of us who get bent out of shape
Authored by: craigsheppard on May 28, '03 05:49:36PM

Lol!



[ Reply to This | # ]