Receive
This function retrieves the next networking message and returns it.
Syntax
- Message P2P:Receive(number channel=0)
Parameters
- channel: the channel to check for messages on.
Returns
Returns a Message object if one is available.
Remarks
The Message object must be released when you are done with it or a memory leak will occur.