Penguin
Annotated edit history of Port version 2, including all changes. View license author blame.
Rev Author # Line
1 AristotlePagaltzis 1 A term with a number of meanings:
2
2 AristotlePagaltzis 3 [TCP] process identification number:
4 [TCP/IP] has ports which when associated with an [IP] identify uniquely one end of a [TCP] (or [UDP]) connection. Some ports are 'well known' and by convention programs listen on them, for instance port 22 by convention will have an ssh daemon listening on it. services(5) lists all these ports.
5
6 A good analogy is a business with one telephone number (which corresponds to your computer's [IP] address), where every department/person in the business has their own extension number (which corresponds to a service on the computer using a specific port number).
7
8 [I/O] address:
9 The range of [I/O] ports is a separate address space to talk to I/O devices. AddToMe
10
11 Adjustment of software for different environments:
12 ''Porting'' is making software that runs on one type of computer or OperatingSystem run on another. Programs designed to make this process easy are said to be ''portable''. The success of the [Unix] OperatingSystem is largely due it being very portable.
13
14 [BSD]'s PackageManagement system:
15 As ports(7) says:
16 The [FreeBSD] Ports Collection offers a simple way for users and administrators to install applications. Each port contains any patches necessary to make the original application source code compile and run on [BSD]. Compiling an application is as simple as typing <tt>make build</tt> in the port directory! The MakeFile automatically fetches the application SourceCode, either from a local disk or via [FTP], unpacks it on your system, applies the patches, and compiles it. If all goes well, simply type <tt>make install</tt> to install the application.