6-2
Section
Using Socket Services with Socket Service Request Switches
103
Response
code
Meaning
0053
(See note.)
Error in communications with remote node (ETIMEDOUT).
0081
The specified socket was closed during send processing.
Note These response codes will be returned only on large, multilevel networks.
TCP Socket Close Request
Response
code
Meaning
0000
Normal end
2210
The specified socket is not open.
2211
Unit is busy; cannot execute.
2607
Specified Socket Service Parameter Area is already being used
for another socket.
0302
CPU Unit error; cannot execute.
6-2-3 Socket Service Request Switches
Socket Service Request Switches are manipulated to request socket services.
These bits are called Socket Service Request Switches, and are turned ON in
the CPU Unit to request socket services through the Ethernet Unit.
The Socket Service Request Switches are allocated in the CPU Bus Unit Area in
the CPU Area starting at the the word n+ 19. The value of n can be calculated
from the unit number as follows:
n = 1500 + (25 x unit number)
Socket Service
Request Switches 7
Socket Service
Request Switches 5
Socket Service
Request Switches 3
Socket Service
Request Switches 1
Socket Service
Request Switches 8
Socket Service
Request Switches 2
Socket Service
Request Switches 4
Socket Service
Request Switches 6
Offset
15
8
7
0
n+19
n+20
n+21
n+22
The configuration of each set of Socket Service Request Switches is shown in
the following diagram.
UDP Open Request Switch
TCP Passive Open Request Switch
TCP Active Open Request Switch
Send Request Switch
Receive Request Switch
Close Request Switch
7
6
5
4
3
2
1
0
15
14
13
12
11
10
9
8