Kaya 0.5.3 reference for Net::startTLS

List of functions and data types in Net

Void startTLS(NetHandle h, [String] certfiles=[])

Arguments

Usage

Begins TLS encryption on an existing connection equivilant to having set usetls to true when creating it. Useful for secure SMTP connections. This function will fail silently if TLS encryption is already in use on the connection.

Note that this function is only designed for client connections started with connect rather than server connections from accept.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya