From owner-freebsd-questions Fri Apr 13 1:14: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id 366EC37B505 for ; Fri, 13 Apr 2001 01:13:58 -0700 (PDT) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id EE23FA920; Fri, 13 Apr 2001 03:13:10 -0500 (CDT) Date: Fri, 13 Apr 2001 03:13:10 -0500 From: Andrew Hesford To: Kane Tao Cc: lists , freebsd-questions@FreeBSD.ORG Subject: Re: Ports versus ports Message-ID: <20010413031310.B12819@cec.wustl.edu> References: <002f01c0c3f0$eda5b040$7e93e4ce@netforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002f01c0c3f0$eda5b040$7e93e4ce@netforge.net>; from khtao@netforge.net on Fri, Apr 13, 2001 at 03:08:31AM -0500 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 13, 2001 at 03:08:31AM -0500, Kane Tao wrote: > The term port as refered to in networking is a device you can connect > to...e.g. a serial port > TCP/IP ports are the same thing except that they are logical > constructs...an IP port is a one of many connections that can be > established from one PC to another (PC not being the only device > possible). For example FTP tries to connect to port 21 on the other > computer. That means that on the server side there is a program (FTP > server) listening in on port 21 and waiting to respond to any requests > issued to that port. Technically it is a TCP port, not an IP port. As I understand it, IP deals with the identification of machines (hence IP addresses) and the packaging of data (IP packet structure). The TCP part of TCP/IP deals with low-end stuff like making connections and transmitting data. Part of this low-end is dividing a network interface into ports, for organization of data and easy identification of services. Mind you, I've never read the specs on the protocols, so I can't be sure. But this makes the most sense. I do know for certain that ports are a TCP thing... you say "connect to TCP port 39" instead of "connect to IP port 39". -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message