X25GW Error Codes

The following describes the X25GW error codes.

Error Code Description

TPEINVAL

Occurs when the length of the data to send to X25GW is shorter than the gateway header when the gateway header is used.

TPEPROTO

Occurs when X25GW is in the asynchronous mode instead of the synchronous mode when X25GW is called via tpforward. The tpforward and tprelay methods must be used in the synchronous mode.

TPENOREADY

Occurs when there is no channel that can be used due to the connection being disconnected from the remote node.

TPEOS

Occurs when memory cannot be allocated.

TPESYSTEM

Occurs if a negative value is returned from put_msg_info, a user-defined function, when sending data to the remote node.

TPETIME

Occurs when a service is requested to the remote node and there is no reply within the specified time.

TPECLOSE

Occurs when connection to the remote node is disconnected after a service is requested to the remote node.