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.

Bad address.<br />

One of the following conditions occurred:<br />

v The system detected an address that was not valid while attempting to access the buffer<br />

parameter.<br />

v The system detected an address that was not valid while attempting to access the handle<br />

parameter or one of the address fields in the handle parameter.<br />

[EINTR]<br />

[EINVAL]<br />

[EIO]<br />

[ENOBUFS]<br />

[ENOTCONN]<br />

Interrupted function call.<br />

Parameter not valid.<br />

This error code indicates one of the following:<br />

v The socket_descriptor type is not SOCK_STREAM or address family is not AF_INET or<br />

AF_INET6.<br />

v One of the parameters passed is not valid or is NULL.<br />

v The buffer_length parameter specifies a negative value.<br />

Input/output error.<br />

There is not enough buffer space for the requested operation.<br />

Requested operation requires a connection.<br />

This error code indicates one of the following:<br />

v The socket_descriptor is not for a socket that is in a connected state.<br />

v The socket_descriptor has not had SSL support enabled. This usually means that an SSL_Create()<br />

has not been completed for this socket_descriptor.<br />

[ENOTSOCK]<br />

[EPIPE]<br />

The specified descriptor does not reference a socket.<br />

Broken pipe.<br />

[ETIMEDOUT]<br />

[EUNATCH]<br />

[EUNKNOWN]<br />

A remote host did not respond within the timeout period.<br />

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

Unknown system state.<br />

[EWOULDBLOCK]<br />

Operation would have caused the thread to be suspended.<br />

<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 99

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

Saved successfully!

Ooh no, something went wrong!