Appendix A. TCPGW Error Codes

The following describes the TCPGW error codes.

Error CodeDescription
[TPECLOSE]Occurs when connection to the remote node is disconnected after a service is requested to the remote node.
[TPEINVAL]Occurs when the length of the data to send to TCPGW is shorter than the gateway header when the gateway header is used.
[TPENOENT]When the [-E] option is used, every service request connects to the remote node and sends data. Occurs the when the number of simultaneous calls exceeds the number of channels specified with the [-n] option.
[TPENOREADY]Occurs when there is no channel that can be used due to the connection being disconnected from the remote node.
[TPEOS]Memory is allocated within TCPGW. Occurs when memory cannot be allocated.
[TPEPROTO]Occurs when TCPGW is in the asynchronous mode instead of the synchronous mode when TCPGW is called via tpforward. The tpforward and tprelay methods must be used in the synchronous mode.
[TPESVCERR]Occurs when 0 or a negative number is returned by put_msg_info.
[TPESYSTEM]Occurs when code conversion is used in TCPGW and the map file for the requested data cannot be loaded. This error also occurs while sending data to the remote node when a negative number is returned by the put_msg_info user function due to a code conversion error.
[TPETIME]Occurs when a service is requested to the remote node and there is no reply within the specified time.