Information Technology Reference
In-Depth Information
These parameters are defined as:
Local connection name - a unique connection name which identifies the socket.
Buffer address - address of data buffer.
Byte count - number of bytes in the buffer.
PUSH flag - if this flag is set then the data will be transmitted immediately, else the TCP
may wait until it has enough data.
URGENT flag - sets the urgent pointer.
Timeout - sets a new timeout for the connection.
24.8.3 RECEIVE
The RECEIVE call allocates a receiving buffer for the specified connection. Most implemen-
tations return immediately from the RECEIVE call, even if the data has not been received,
although some implementation will not return until either there is a timeout or the data has
been received. The basic parameters passed and returned from the call are given next. Pa-
rameters in brackets are optional.
Parameters passed:
local connection name, buffer address, byte count
Parameters returned:
byte count, URGENT flag, PUSH flag
These parameters are defined as:
Local connection name - a unique connection name which identifies the socket.
Buffer address - address of the receive data buffer.
Byte count - number of bytes received in the buffer.
PUSH flag - if this flag is set then the PUSH flag has been set on the received data.
URGENT flag - if this flag is set then the URGENT flag has been set on the received
data.
24.8.4 CLOSE
The CLOSE call closes the connections and releases associated resources. All pending
SENDs will be transmitted, but after the CLOSE call has been implemented, no further
SENDs can occur. RECEIVEs can occur until the other host has also closed the connection.
The basic parameters passed and returned from the call are given next.
Parameters passed:
local connection name
24.8.5 STATUS
The STATUS call determines the current status of a connection, typically listing the TCBs.
The basic parameters passed and returned from the call are given next.
Parameters passed:
local connection name
Parameters returned:
status data
The returned information should include status information on the following:
local socket, foreign socket, local connection name;
Search WWH ::




Custom Search