[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: host numbers



On Tue, 22 Jun 1999, Sharad Joshi wrote:


still simple man inet_ntoa :-).

Ur client is inteligent enough to do that, most of the applications do
that, host, nslookup and etc.....

- -Chetan S


> Got the answer. converting the given number in binary and reconverting the
> obtained number in decimal, 16bits at a time gives the ip number
> concerned.
> 
> here: 3488905759 => 11001111,11110100,01111010,00011111
>                     ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^
>                        207     244      122      31
> 
> so, the host address in this case is 207.244... Should the browsers not
> take only dotted notation? Is this a feature (certainly not - i believe) 
> or a bug?
> 
> Sharad.

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------