AGK for Pascal
IAgkIncomingNetworkMessage.GetInteger Method

Gets a single integer value from the message and advances the data pointer to the next message item.

function GetInteger: Integer;

The value.

Messages should be created and read according to known formats, e.g. String, Integer, String as there is no immediate way for the receiver to know the format of a message. You could use an initial integer to specify a message type ID which you can use to identify the message format.

Copyright (c) 2012. All rights reserved.