This method checks for incoming messages and sends any queued messages.
| Parameter | Description |
|---|---|
| timeout | optional timeout time in seconds |
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 method should be called again to check for more messages.