The network server object.
- Command Input:
s(PortName)
- Command Output:
v
- Command Description:
- Set the communication port name name.
- Command Input:
v
- Command Output:
s(PortName)
- Command Description:
- Get the communication port name.
- Command Input:
i(NumClients)
- Command Output:
v
- Command Description:
- Begin configuration clients which are allowed to connect. Only clients added between beginclients and endclients will be allowed to join the session.
- Command Input:
i(ClientIndex), s(ClientGuid)
- Command Output:
v
- Command Description:
- Set the guid for a client. The guid is used to authenticate a client which wants to connect to the session.
- Command Input:
v
- Command Output:
v
- Command Description:
- Finish configuring clients.
- Command Input:
v
- Command Output:
i(NumClients)
- Command Description:
- Return number of configured (NOT JOINED!) clients.
- Command Input:
i(ClientIndex)
- Command Output:
s(ClientGuid)
- Command Description:
- Get the client guid at index.
- Command Input:
i(ClientIndex)
- Command Output:
s(ClientStatus)
- Command Description:
- Returns the current client status.
- Command Input:
v
- Command Output:
b(Success)
- Command Description:
- Open the server. The server expects the configured clients to connect, once all configured clients have connected, the isstarted command will return true.
- Command Input:
v
- Command Output:
v
- Command Description:
- Close the server. The running session will be closed.
- Command Input:
v
- Command Output:
b(OpenFlag)
- Command Description:
- Return true if the server is open. This is the case between the open and close command.
- Command Input:
v
- Command Output:
b(StartedFlag)
- Command Description:
- Return true if the server is in the started state. This is the case when all configured clients have connected.