ClanSoft logo
ClanSoft logo

    CL_NetGame::receive

Syntax

virtual CL_NetMessage receive(
        int channel,
        int timeout=-1);

Parameters

channel-Channel to look for a message.
timeout-Timeout, -1 means block forever.

Return value

The message received from the specified channel.

Description

Receives a message from the specified channel. The call is blocking, sodont call it if you arent completly sure it will arrive (unless you seta timeout).


Back to index



This page was built using the Perceps documentation system.