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

RE: host numbers



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.


+  -----Original Message-----
+ From: Sharad Joshi [SMTP:sharadj@xxxxxxxxxxxxxxxx]
+ Sent: Tuesday, June 22, 1999 7:25 AM
+ To: linux-india@xxxxxxxxx
+ Cc: linux-admin@xxxxxxxxxxxxxxxx
+ Subject: host numbers
+ 
+ Hi ppl,
+ 
+ My apologies in advance for a slightly off topic question. Please tell me
+ a better place to pose this, if this is "dislocated" :)
+ 
+ Just got this in a mail, a url of the form <http://3488905759> And this
+ successfully goes to some location (which is not important to the
+ discussion here).
+ 
+ Rfc2068 (http/1.1) clearly states in section 3.2.2 (http url) :
+ 
+           http_URL       = "http:" "//" host [ ":" port ] [ abs_path ]
+           host           = <A legal Internet host domain name
+                             or IP address (in dotted-decimal form),
+                             as defined by Section 2.1 of RFC 1123>
+           port           = *DIGIT
+ 
+ Note the line "in dotted decimal form". So how the DNS name of this
+ iphost is resolved?
+ 
+ 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

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