z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Return codes from DPI transport-related functions

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

These are the currently defined values for the return codes from DPI transport-related functions. They are defined in the snmp_dpi.h include file:
#define DPI_RC_OK                  0 /* all OK, no error         */
#define DPI_RC_NOK                -1 /* some other error         */
#define DPI_RC_NO_PORT            -2 /* can't determine DPIport  */
#define DPI_RC_NO_CONNECTION      -3 /* no connection to DPIagent*/
#define DPI_RC_EOF                -4 /* EOF receivd on connection*/
#define DPI_RC_IO_ERROR           -5 /* Some I/O error on connect*/
#define DPI_RC_INVALID_HANDLE     -6 /* unknown/invalid handle   */
#define DPI_RC_TIMEOUT            -7 /* timeout occurred         */
#define DPI_RC_PACKET_TOO_LARGE   -8 /* packed too large, dropped*/
#define DPI_RC_UNSUPPORTED_DOMAIN -9 /*unsupported domain for connect*/
#define DPI_RC_INVALID_ARGUMENT  -10 /*invalid argument passed*/
 

These values are used as return codes for the transport-related DPI functions.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014