Skip to main content

A View of Socket Name Meaning (Scheme 4)

Another view of Network use is that programs will connect to programs, via NCPs. Some of these programs may be multi-access subsystems that are really agents for local consoles (and TELNETs). Consoles will generally communicate through some such software agent rather than directly to an NCP.

Programs, then, must have a fixed, unique identifier, known to its remote users and perhaps to its local logger. The identifier is constant; it does not change from day to day. If such a program is to allow multiple concurrent connections (for many or a single user) then it must have a range of variable identifiers as well. It makes sense to group these sockets in a contiguous range. The variable identifiers are transient and are dynamically associated with Network logical connections.

      +---------------------   ---------------------+
| |
| Fixed, unique / / Variable |
| Identifier / / Identifier |
| |
+--------------------- ---------------------+

_________ _________/ _________ _________/
/ /
Identifies the Identifies a particular
program uniquely connection of the program

The above premise is that the program (or agent) is doing the communicating with an NCP and thus needs to be identified for message traffic routing from an NCP. In the past it has been said that users can be mobile, i.e., log on from different sites, and thus it is the user that needs identification. In many typical on-line systems the user first requests a service and then identifies himself to the service for purposes of accounting, etc. User IDs can be transmitted after requesting a service and can thus be elevated above the meaning of socket names.

A program might typically associate the terminals, for which it is an agent, with the variable part of the identifier, i.e., the particular connection(s). For example, the Network Services Program (NSP) at Rand now uses the following format for socket names. The first 24 bits are administratively assigned and would be known to a logger. The multiplex code is normally chosen randomly. Predefined, fixed multiplex codes are possible also.

             24                   7     1
+------------------------+---------+-+
| Program Number |Multiplex| | <-- Gender
| | Code | |
+------------------------+---------+-+

The socket name structure #1 (page 1) thus accommodates the above example as well as other exploratory socket name structures and various "standards" superimposed on the arbitrary field.

This RFC was put into machine readable form for entry into the online RFC archives by Simone Demmel 4/97.