Talk:Parse an IP Address: Difference between revisions

m
fixed an HTML tag.
(→‎other IP address formats: Stick with the simple stuff)
m (fixed an HTML tag.)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
==IP address in decimal==
Hm. I'm thinking the decimal number requirement isn't necessary. Removing. --[[User:Short Circuit|Michael Mol]] 12:35, 27 September 2011 (UTC)
 
Line 26 ⟶ 27:
::: Ah, I see now. I only saw the output format of the task to be relevant in that it required comprehension of the input format to generate. The internal representation (in particular, correct distinction of host and port addresses) was what I was more interested in. Requiring the port address in the output helps a reviewer understand how the port number was understood. Change the requirements for the output format however you see fit, with that requirement in mind. (I'd try changing it, but I've been without my glasses for a week, and doing things on the computer has been very, very error-prone--even trying to write coherently. )--[[User:Short Circuit|Michael Mol]] 15:15, 28 September 2011 (UTC)
 
: I don't understand (above) the statement saying why the "extra data" (the port) is required to be ignored (or is being mishandled). I see no problem with parsing/displaying it. If it can be parsed, it's shouldn't be an error to include it in the IP address. -- [[User:Gerard Schildberger|Gerard Schildberger]] 15:00, 23 April 2012 (UTC)
 
:: Retrospect from a few years later: my sentence "First, it requires that extra data (the port) be ignored." was unclear and ambiguous. This task was, I imagine, aimed at being a crude model of a web browser (except without any dns names or user names, etc.). It makes an odd sort of sense from that perspective. But see the next section for where this conversation drifted, back then. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 17:17, 11 May 2014 (UTC)
 
=== Port 0 ===