Teonet library
0.4.7
|
Macros | |
#define | TUDPL_VERSION "0.0.2" |
Functions | |
void | test_01 (ksnetEvMgrClass *ke, char *server_peer) |
void | event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
Teonet Events callback. More... | |
int | main (int argc, char **argv) |
Main teotru_load application function. More... | |
Variables | |
int | start_test_01 = 0 |
int | app_mode = 0 |
TR-UDP loading test
Created on April 4, 2016, 3:54 PM
#define TUDPL_VERSION "0.0.2" |
Referenced by main().
void event_cb | ( | ksnetEvMgrClass * | ke, |
ksnetEvMgrEvents | event, | ||
void * | data, | ||
size_t | data_len, | ||
void * | user_data | ||
) |
Teonet Events callback.
ke | |
event | |
data | |
data_len | |
user_data |
References ksnCorePacketData::addr, teonet_cfg::app_argv, app_mode, ksnCorePacketData::cmd, CMD_USER, data, ksnCorePacketData::data, EV_K_CONNECTED, EV_K_RECEIVED, EV_K_RECEIVED_ACK, EV_K_STARTED, EV_K_TIMER, EV_K_USER, ksnCorePacketData::from, ksnCorePacketData::port, rd, start_test_01, ksnetEvMgrClass::teo_cfg, and test_01().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Main teotru_load application function.
argc | Number of parameters |
argv | Parameters array |
References ksnetEvMgrAppParam::app_argc, ksnetEvMgrAppParam::app_argv, ksnetEvMgrAppParam::app_descr, APP_PARAM, event_cb(), ke, ksnetEvMgrInitPort(), ksnetEvMgrRun(), ksnetEvMgrSetCustomTimer(), READ_CONFIGURATION, READ_OPTIONS, teoSetAppType(), teoSetAppVersion(), TUDPL_VERSION, and VERSION.
void test_01 | ( | ksnetEvMgrClass * | ke, |
char * | server_peer | ||
) |
References BUF_LEN, CMD_USER, ksnetEvMgrClass::kc, ksnCoreSendCmdto(), and start_test_01.
Referenced by event_cb().
int app_mode = 0 |
Referenced by event_cb().
int start_test_01 = 0 |
Referenced by event_cb(), and test_01().