Пример #1
0
void
interception_push(tc_event_timer_t *evt)
{
    send_buffered_packets(tc_time());
    evt->msec = tc_current_time_msec + CHECK_INTERVAL;
}
Пример #2
0
void
server_push(tc_event_timer_t *evt)
{
    send_buffered_packets();
    tc_event_update_timer(evt, CHECK_INTERVAL);    
}