w4ccl is the Win32 interactive 4C client.
You can tell w4ccl which server to connect to by using the -c <conn>
option.
If no connection is specified, then the user can select from a list of known
or recent connections or add new connection.
The <conn> option can be used in two ways.
It can be the name of a known connection stored in one of the connection text files or it can be a full connection string.
The full connection string looks like:
Machine=<server>[,ConnectionOption=<val>]...
Connection options are:
-
Name - Name of connection.
This is more useful for saved connections than
for using it on the command line.
-
Port - The port used by a TCP connection.
If using the default port of 1412 you do not need to specify this.
-
Type - Currently must be TCP.
Since the default for Type is TCP you won't need to specify Type.
-
App - The name of the application to connect to.
This can be overridden by the -a option to w4ccl.
If no App is specified, then the user will select from the application list.
-
Usr - The usr name to use.
-
Pwd - An encrypted passwd.
You can use encode4c to determine what the encrypted password should look like.
Currently this is not a secure encryption so you should be careful using it.
It is probably better to type in the passwd every time you use it.
If you use the Pwd connection option you also need the version option.
Having to specify Version when specifying Pwd was an oversight
and will be fixed in future clients.
-
Ping - How often, in number of seconds, that the 4C client
should send a message to the server just to make sure it stays alive.
The default is 300. A negative number implies never.
You do not need to specify this option as part of the connection string
unless you want it to be different than the default.
-
Version - This is the version of the 4C client that wrote the connection string.
It is meant to be stored as part of the connection entries in text files.
You don't really need to specify this as part of a command line
connection string unless you also specified Pwd.