Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method SSL.File()->connect()


Method connect

bool connect(string|void dest_addr)

Description

Configure as client and set up the connection.

Parameter dest_addr

Optional name of the server that we are connected to.

Returns

Returns 0 on handshaking failure in blocking mode, and otherwise 1.

See also

accept()