Class: Server
Lua
C++
Edit

Server:Update

This function checks for incoming messages and sends any queued messages.

Syntax

function Server:Update(timeout)

Parameters

Parameter Description
timeout (optional) timeout time in seconds

Returns

Returns a new Message. The returned message ID may be MESSAGE_NONE, MESSAGE_CONNECT, MESSAGE_DISCONNECT, or a user-defined value.

If the message ID is not MESSAGE_NONE then the message should be evaluated and the function should be called again to check for more messages.

Copyright © 2024 Ultra Software.
All rights reserved.