Talk:Parse an IP Address: Difference between revisions

→‎Sloppy: More general
(→‎Sloppy: port 0?)
(→‎Sloppy: More general)
Line 24:
 
The 'bit specifying if port was given' doesn't seem necessary, how about just use port 0? --[[User:Ledrug|Ledrug]] 15:37, 28 September 2011 (UTC)
: Specifying port 0 means "any available", but only in some contexts. A more general solution should be preferred, IMO. I took the "bit specifying" bit as "an indicator", rather than as an explicit like-formatted boolean bit. The way I read it, it could be equally (and possibly more clearly) written as "a note specifying if port was given". --[[User:Short Circuit|Michael Mol]] 15:40, 28 September 2011 (UTC)