ping_thread.h File Reference

WiFiDog heartbeat thread. More...

Go to the source code of this file.

Defines

#define MINIMUM_STARTED_TIME   1041379200

Functions

void thread_ping (void *arg)
 Periodically checks on the auth server to see if it's alive.


Detailed Description

WiFiDog heartbeat thread.

Author:
Copyright (C) 2004 Alexandre Carmel-Veilleux <acv@miniguru.ca>

Definition in file ping_thread.h.


Function Documentation

void thread_ping ( void *  arg  ) 

Periodically checks on the auth server to see if it's alive.

Launches a thread that periodically checks in with the wifidog auth server to perform heartbeat function.

Parameters:
arg NULL
Todo:
This thread loops infinitely, need a watchdog to verify that it is still running?

Definition at line 64 of file ping_thread.c.

References s_config::checkinterval, config_get_config(), debug, and ping().


Generated on Fri Sep 25 15:28:43 2009 for WifiDog by  doxygen 1.5.5