Net.connect3kaya
Connect to a server
Usage
NetHandle connect( Protocol proto, String server, Int port, Bool usetls=false, [String] certfiles=[] )
Arguments
proto The network protocol to use
server The hostname or IP address of the server to connect to (e.g. service.example.com , localhost or 192.168.20.25 )
port The network port to connect to
usetls If this is true, and the TLS library is available, then the connection will be encrypted. This parameter may be omitted and defaults to false.
certs An optional list of certificate files for TLS encrypted connections. Each file should contain one or more PEM-encoded certificates for a trusted certification authority. If this list is empty (the default), no certificate verification will be performed on encrypted connections, which is insecure.
Overview
Connect to a server (optionally using TLS). Returns a connection handle.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.