newConnection -- Create a connection to an SCSCP server
-
- Usage:
newConnection (host, port)
- Inputs:
- host, a string, The name or IP address of the host to connect to, with an optional colon followed by the number of the port
- port, a string or an integer, providing the port number (this argument may be omitted)
- Outputs:
- an instance of the type SCSCPConnection, The connection that was established
Description
The port to connect to may be specified either by giving only one argument of the form host:port or by specifying the second argument. If neither of these is present, the port defaults to 26133.
Ways to use newConnection:
- newConnection(String)
- newConnection(String,String)
- newConnection(String,ZZ)
The source of this document is in SCSCP/docs.m2:28:0.