For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > February 2005 > length of a port









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author length of a port
-

2005-02-12, 8:55 am

anybody knows the max length character of a port?
e.g. 8080 is 4. there are also 5 characters long port.
Senator Jay Billington Bulworth

2005-02-12, 8:55 am

- <nobody@hoem.om> wrote in news:420db295$1@news.starhub.net.sg:

> anybody knows the max length character of a port?
> e.g. 8080 is 4. there are also 5 characters long port.
>


5 is the maximum character length.

hth


--
Bulworth : PHP/MySQL/Unix | Email : str_rot13('f@fung.arg');
--------------------------|---------------------------------
<http://www.phplabs.com/> | PHP scripts, webmaster resources
Oli Filth

2005-02-13, 3:57 pm

- wrote:
> anybody knows the max length character of a port?
> e.g. 8080 is 4. there are also 5 characters long port.


If you mean TCP (or UDP) ports, then this is a 16-bit field, i.e. any
value between 0 and 65535.

--
Oli
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com