You can create secure server and clients using either the Global Secure ToolKit (GSKit) APIs or the Secure Sockets Layer (SSL_) APIs.
GSKit APIs are preferred because they are supported across IBM® systems, while SSL_APIs only exist in the i5/OS™ system. Each set of Secure Sockets APIs has return codes that help you identify errors when establishing secure socket connections.