Re: ICP_PORT and HTTP_PORT

From: Dancer <dancer@dont-contact.us>
Date: Mon, 02 Aug 1999 08:38:32 +1000

Angel Vera wrote:
>
> can they be the same?

Oddly enough, yes(-ish).

UDP and TCP have the same semantics as regards port numbers, but operate
in two entirely different spaces. So you _can_ bind UDP and TCP to the
same port.

Caveats: Not every operating system allows you to do this...some
simplify their bookkeeping by treating the portspace as shared. Not
every program will allow you to do this. Some of them assume that the
portspace is shared. I've never actually _tried_ this with squid, but
many other services have both tcp and udp running on the same port...and
often semantically different operations.

D
Received on Sun Aug 01 1999 - 16:25:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:49 MST