22.10.2013 Views

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The handle specified was not valid.<br />

[GSK_INVALID_STATE]<br />

The handle is not in the correct state for this operation.<br />

[GSK_INVALID_BUFFER SIZE]<br />

The bufferLength field located in the Qso_OverLappedIO_t communications area is less than 1.<br />

[GSK_ERROR_BAD_MESSAGE]<br />

SSL received a badly formatted message.<br />

[GSK_ERROR_BAD_MAC]<br />

A bad message authentization code was received.<br />

[GSK_ AS400_ERROR_INVALID_POINTER]<br />

The buffer pointer located in Qso_OverLappedIO_t communications area is not valid.<br />

[GSK_ERROR_SOCKET_CLOSED]<br />

A close() was done on the socket descriptor for this secure session.<br />

[GSK_INTERNAL_ERROR]<br />

An unexpected error occurred during SSL processing.<br />

[GSK_AS400_ERROR_INVALID_ OVERLAPPEDIO_T]<br />

The Qso_OverLappedIO_t specified was not valid.<br />

[GSK_AS400_ERROR_INVALID_ IOCOMPLETIONPORT]<br />

The I/O completion port specified was not valid.<br />

[GSK_AS400_ERROR_BAD_SOCKET_DESCRIPTOR]<br />

The socket descriptor specified within the gsk_handle was not valid.<br />

[GSK_ERROR_IO]<br />

An error occured in SSL processing; check the errno value.<br />

Error Conditions<br />

When gsk_secure_soc_startRecv() API fails with return code [GSK_ERROR_IO], errno can be set to:<br />

[ECONNRESET]<br />

[EINVAL]<br />

[EIO]<br />

[ENOTCONN]<br />

[EUNATCH]<br />

A connection with a remote socket was reset by that socket.<br />

The field operationWaitTime.tv_sec was negative or operationWaitTime.tv_usec was not zero or<br />

postedDescriptor was not zero.<br />

Input/output error.<br />

Requested operation requires a connection.<br />

The protocol required to support the specified address family is not available at this time.<br />

54 <strong>System</strong> i: <strong>Programming</strong> <strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!