Using Socket Services by Manipulating Dedicated Control Bits |
| Section | ||||||
TCP Socket Close Request |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| Response |
|
| Meaning |
|
| |
|
| 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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Timing Charts |
|
|
|
|
| |||
|
| 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 |
|
|
| Response code stored | ||
|
| code |
|
|
| |||
|
|
|
|
|
|
| ||
|
| Flag |
|
|
|
|
| |
|
|
|
|
|
|
| ||
|
|
|
| Request Switch | Request | Not synced with | ||
|
|
|
| turned ON. | accepted. | |||
|
|
|
| Request Switch. | ||||
|
|
|
|
|
|
| ||
Closing during Other | The Close Request Switch or | |||||||
Processes |
| socket even when open, receive, or send processing is being executed. Clos- | ||||||
|
| ing is the only other process that is possible during other processes. |
125