connect

Name

connect -- Create connection to a host.

Parameter Format

The following table shows how the command is encoded for network transmission:

TypeNameDescription
uint8id = 0The command byte that identifies this command.
string16nameThe user name to connect as. Identifies the connecting user to whatever user-management system is used by the receiving host.
string16passwordPassword associated with the user. Used to prove identity.

Description

This command is generally the first to be sent when a client wishes to connect to a host in order to start up a Verse session. It has parameters that let a client identify itself to the host, which can use the information to accept or deny the connection attempt.

The command is sent using the special connection-phase encryption (RSA-based), so the name and password information is not sent in the clear.