| errcode | errmsg |
|---|---|
| 1 | Illegal protocol address. |
| 2 | Illegal protocol option. |
| 3 | Access permission denied. |
| 4 | Bad transport endpoint. |
| 5 | Unable to allocate address. |
| 6 | Out of state. |
| 7 | Invalid sequence number. |
| 8 | System error (system error code). |
| 9 | Even requires attention (event name). |
| 10 | Invalid data size. |
| 11 | Buffer overflow. |
| 12 | Unable to accept data. |
| 13 | Data not available. |
| 14 | No disconnect indication exists. |
| 15 | No unit data error indication. |
| 16 | Invalid flag specified. |
| 17 | No orderly release indication. |
| 18 | Not supported. |
| 19 | State change. |
| 20 | Invalid structure type. |
| 21 | Invalid transport provider name. |
| 22 | Bad value. |
| 23 | Address in use. |
For example, if an SPX connection attempted to use an incorrect address, the following error message would be displayed:
N301: SPX Error: Illegal protocol address. bind() = 1