![](/images/new-backgrounds/1193384/193384291x1.webp)
Using Socket Services by Manipulating Dedicated Control Bits | Section | ||
TCP Socket Passive Open Request |
|
| |
|
|
|
|
| Response | Meaning |
|
| code |
|
|
|
|
|
|
| 0000 | Normal end |
|
|
|
|
|
| 0105 | Local IP address setting error. |
|
|
|
|
|
| 0302 | CPU Unit error; cannot execute. |
|
|
|
| |
| 1100 | TCP socket number is not 1 to 8 or local TCP port number is 0. | |
|
|
|
|
| 110C | Request Switch turned ON during other processing. |
|
|
|
| |
| 220F | Specified socket is already open or already processing an open | |
|
| request. |
|
|
|
|
|
| 2211 | Unit is busy; cannot execute. |
|
|
|
| |
| 2606 | Specified socket is already open as UDP socket; cannot open TCP | |
|
| socket. |
|
|
|
| |
| 2607 | Specified Socket Service Parameter Area is already being used for | |
|
| another socket. |
|
|
|
| |
| 003E | Internal buffer cannot be obtained due to high reception traffic | |
|
| (ENOBUFS). |
|
|
|
|
|
| 0042 | An error occurred. (EMSGSIZE). |
|
| (See note.) |
|
|
|
|
| |
| 0045 | Error in communications with remote node (ECONNABORTED). | |
|
|
| |
| 0049 | The same TCP port number has been specified more than once | |
|
| (EADDRINUSE). |
|
|
|
|
|
| 004A | Error (ECONNREFUSED). |
|
| (See note.) |
|
|
|
|
| |
| 004B | Error in communications with remote node (ECONNRESET). | |
| (See note.) |
|
|
|
|
| |
| 004E | Remote IP address parameter error (ENETUNREACH). | |
| (See note.) |
|
|
|
|
| |
| 0051 | Remote IP address parameter error (EHOSTUNREACH). | |
| (See note.) |
|
|
|
|
| |
| 0053 | Error in communications with remote node (ETIMEDOUT) or remote | |
|
| node does not exist. |
|
|
|
| |
| 0066 | Internal memory cannot be obtained; cannot execute. | |
|
|
|
|
| 0080 | Open request timed out. |
|
|
|
| |
| 0081 | The specified socket was closed during open processing. | |
|
|
| |
| 0082 | Connection could not be established with specified remote node. | |
|
|
|
|
Note These response codes will be returned only on large, multilevel networks.
TCP Socket Active Open Request
Response | Meaning |
code |
|
|
|
0000 | Normal end |
|
|
0105 | Local IP address setting error. |
|
|
0302 | CPU Unit error; cannot execute. |
|
|
1100 | TCP socket number is not 1 to 8 or local TCP port number is 0. |
|
|
110C | Request Switch turned ON during other processing. |
|
|
220F | Specified socket is already open or already processing an open |
| request. |
|
|
2211 | Unit is busy; cannot execute. |
|
|
2606 | Specified socket is already open as UDP socket; cannot open TCP |
| socket. |
|
|
2607 | Specified Socket Service Parameter Area is already being used for |
| another socket. |
122