AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkNetwork.GetMessage Method

Check the network for any messages sent to this client. If none are found it returns nil. If a message is found it returns a message you can use to read the message.

Syntax
Pascal
function GetMessage: IAgkIncomingNetworkMessage;

You should keep calling GetMessage until it returns nil to make sure you have received all the messages. You can use IAgkIncomingNetworkMessage.Client to find out which client sent the message.

Copyright (c) 2012. All rights reserved.