methodIsnipConnection.WaitForMessage
function WaitForMessage: TsnipMessageKind;
Blocks until the next message kind is known and returns it. Meaningful mainly on the client side, where it distinguishes an ordinary reply (msgResponse) from an incoming server callback (msgRequest) that must be serviced before the original call can complete (see TsnicClassClient. ProcessRequests). Server-role implementations of this interface (e.g. TsnipServerTLSOctetConnection) generally do not support it and fail if called.