Upgrading existing connections
Secure sockets (SSL, TLS)

Prev:Secure socket addresses
Next:Secure socket errors


Some protocols, such as HTTPS, require that the connection be established as an SSL/TLS connection. Others, such as secure SMTP and POP3 require that the client and server initiate an SSL/TLS handshake upon the client sending a plain-text request. The latter use-case is accommodated by a pair of words.

Upgrading a connection to a secure socket by initiating an SSL/TLS handshake with the server:
send-secure-handshake ( -- )


Upgrading a connection to a secure socket by waiting for an SSL/TLS handshake from the client:
accept-secure-handshake ( -- )