schau dir die GSTNet_Channels.c mal an, dort ist so etwas mit events gelöst

Code:
//----------------------------------------------------------------------------------------
// function: GSTNet_ChannelStart
// purpose:  helper function to start a session as server or client
//           uses globals.ini for parameters
// input: sPlayer : var, any type of event, that are not registered
// input: sPassword : string data 
// input: vUseChannels: 0 no channels service from gstools
//                      1 use channels
//------------------------------------------------------------------
function GSTNet_ChannelStart(STRING* sPlayer, STRING* sPassword,var vUseChannels)




Last edited by nfs42; 05/12/12 15:39.

Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files