CL_Network::receive_game_found
Syntax
static CL_NetGame *receive_game_found(int timeout_millis);
Parameters
timeout_millis | - | Timeout before returning if no game was found. |
Return value
The netgame found, or NULL if timed out. Remember to delete the
netgame after usage.
Description
Returns the first netgame found. It is then removed from the list of gamesfound. Next time it is called it will return the next in available. The function is blocking until the specified timeout runs out.If set to zero, it will block forever until a game has been found. Remember to delete the netgame returned after usage.
Back to index
|