connect_accept

Name

connect_accept -- Sent by a host when it accepts a connection request.

Parameter Format

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

TypeNameDescription
uint8id = 1The command byte that identifies this command.
VNodeIDavatarThe avatar ID assigned to the receiving end.

Description

This command is sent by a host in response to a successful connection attempt. Non-host applications (clients) will never need to send this command.

The avatar parameter is the ID of the object node that will be automatically created by the host, to serve as the client's representation in the host's world. It is passed back to the connecting client so it can modify it as desired.