Using Socket Services by Manipulating Dedicated Control Bits
TCP Socket Close Request
6-7-7
Timing Charts
Closing during Other
Processes
Response
code
0000
Normal end
0302
CPU Unit error; cannot execute.
2210
The specified socket is not been connected.
2211
Unit is busy; cannot execute.
2607
Specified Socket Service Parameter Area is already being used for
another socket.
The timing of flags for socket services (Opening, Receiving, Sending, or Clos-
ing Flag) when the Request Switches are used and the changes in the
response code are shown in the following chart.
Request
Switch
Response
code
Flag
Request Switch
turned ON.
The Close Request Switch or Force-close Switch can be used to close a
socket even when open, receive, or send processing is being executed. Clos-
ing is the only other process that is possible during other processes.
Meaning
Response code stored
Request
accepted.
Section 6-7
Not synced with
Request Switch.
125