socket
Click on the red underlined text to get to the source
... internet communication layer, this forms
a socket. A pair of sockets uniquely identifies each connection.
...
... layer, this forms
a socket. A pair of sockets uniquely identifies each connection.
That is, a socket ...
... sockets uniquely identifies each connection.
That is, a socket may be simultaneously used in multiple
connections.
...
... Host. However, it proves useful to attach frequently used processes
(e.g., a "logger" or timesharing service) to fixed sockets which are
made known to the public. These services can then be accessed
...
... each data stream. The combination of this information, including
sockets, sequence numbers, and window sizes, is called a connection.
...
... connection.
Each connection is uniquely specified by a pair of sockets
identifying its two sides.
...
... port identifier to create a socket which
will be unique throughout all networks connected together.
...
...
A connection is fully specified by the pair of sockets at the ends. A
local socket may participate in many connections ...
... connection is fully specified by the pair of sockets at the ends. A
local socket may participate in many connections to different foreign
sockets ...
... socket may participate in many connections to different foreign
sockets. A connection can be used to carry data in both directions,
that is, it is "full duplex".
...
... However, several basic concepts are necessary in any implementation.
There must be well-known sockets which the TCP associates only with
the "appropriate" processes by some means. We envision that processes
...
... connection is specified in the OPEN call by the local port and
foreign socket arguments. In return, the TCP supplies a (short) local
connection ...
... passive OPEN will accept a connection
request from any caller. In this case a foreign socket of all zeros
is used to denote an unspecified socket. Unspecified foreign sockets ...
... caller. In this case a foreign socket of all zeros
is used to denote an unspecified socket. Unspecified foreign sockets
are allowed only on passive ...
... socket of all zeros
is used to denote an unspecified socket. Unspecified foreign sockets
are allowed only on passive OPENs.
...
... processes would issue a passive OPEN request with an unspecified
foreign socket. Then a connection could be made with any process that
requested a connection ...
... connection could be made with any process that
requested a connection to this local socket. It would help if this
local socket were known to be associated with this service ...
... connection to this local socket. It would help if this
local socket were known to be associated with this service.
...
... Well-known sockets are a convenient mechanism for a priori associating
a socket address with a standard service. For instance, the
...
... "Telnet-Server" process is permanently assigned to a particular
socket, and other sockets are reserved for File Transfer, Remote Job
...
... Telnet-Server" process is permanently assigned to a particular
socket, and other sockets are reserved for File Transfer, Remote Job
Entry, Text Generator, Echoer, and Sink processes (the last three
...
... File Transfer, Remote Job
Entry, Text Generator, Echoer, and Sink processes (the last three
being for test purposes). A socket address might be reserved for
access to a "Look-Up" service ...
... address might be reserved for
access to a "Look-Up" service which would return the specific socket
at which a newly created service ...
... service would be provided. The concept of a
well-known socket is part of the TCP specification, but the assignment
of sockets ...
... socket is part of the TCP specification, but the assignment
of sockets to services is outside this specification. (See [4].)
...
...
There are two principal cases for matching the sockets in the local
passive OPENs and an foreign active ...
... active OPENs. In the first case, the
local passive OPENs has fully specified the foreign socket. In this
case, the match must be exact. In the second case, the local passive
...
... case, the match must be exact. In the second case, the local passive
OPENs has left the foreign socket unspecified. In this case, any
foreign socket is acceptable as long as the local sockets ...
... OPENs has left the foreign socket unspecified. In this case, any
foreign socket is acceptable as long as the local sockets match.
Other possibilities include partially restricted matches.
...
... socket unspecified. In this case, any
foreign socket is acceptable as long as the local sockets match.
Other possibilities include partially restricted matches.
...
... If there are several pending passive OPENs (recorded in TCBs) with the
same local socket, an foreign active OPEN will be matched to a TCB
...
... active OPEN will be matched to a TCB
with the specific foreign socket in the foreign active OPEN, if such a
TCB ...
... TCB entry each created by a user OPEN
command. The matching of local and foreign sockets determines when a
connection has been initiated. The connection ...
... used over and over again. A connection is defined by a pair of
sockets. New instances of a connection will be referred to as
incarnations of the connection ...
... connection (e.g., interrupts,
remote close, binding of unspecified foreign socket).
(b) replies to specific user commands indicating success or
...
... incoming connection. A passive open may
have either a fully specified foreign socket to wait for a
particular connection or an unspecified foreign socket ...
... socket to wait for a
particular connection or an unspecified foreign socket to wait
for any call. A fully specified passive call can be made active ...
... connection name can then be used as a short hand term
for the connection defined by the <local socket, foreign socket>
pair.
...
...
If no foreign socket was specified in the OPEN, but the
connection is established (e.g., because a LISTENing connection ...
... has become specific due to a foreign segment arriving for the
local socket), then the designated buffer is sent to the implied
foreign socket ...
... socket), then the designated buffer is sent to the implied
foreign socket. Users who make use of OPEN with an unspecified
foreign socket can make use of SEND ...
... foreign socket. Users who make use of OPEN with an unspecified
foreign socket can make use of SEND without ever explicitly
knowing the foreign socket ...
...
However, if a SEND is attempted before the foreign socket
becomes specified, an error will be returned. Users can use the
STATUS call to determine the status of the connection ...
... socket identifier, foreign
socket, precedence, security/compartment, and user timeout
information. Note that some parts of the foreign socket ...
... socket, precedence, security/compartment, and user timeout
information. Note that some parts of the foreign socket may be
unspecified in a passive OPEN and are to be filled in by the
...
... state and return. If
active and the foreign socket is unspecified, return "error:
foreign socket unspecified"; if active ...
... active and the foreign socket is unspecified, return "error:
foreign socket unspecified"; if active and the foreign socket is
...
... foreign socket unspecified"; if active and the foreign socket is
specified, issue a SYN segment ...
...
If the caller does not have access to the local socket specified,
return "error: connection illegal for this process". If there is
...
... queue the request, respond with "error: insufficient resources".
If Foreign socket was not specified, then return "error: foreign
socket unspecified".
...
... queue the
request, respond with "error: insufficient resources". If
Foreign socket was not specified, then return "error: foreign
socket unspecified".
...
... ACK should
not be repeated. If the listen was not fully specified (i.e.,
the foreign socket was not fully specified), then the
unspecified fields should be filled in now.
...
... A logical communication path identified by a pair of sockets. ...
... The portion of a socket that specifies which logical input or
output channel of a process is associated with the data. ...
... socket ...
