Update

This function updates the network connection and checks for new messages. If a message is received, it should be read and then immediately released to free up resources.

Syntax

Parameters

Returns

Returns a new message if one is available, otherwise NULL is returned.