xwords/xwords4/relay/xwrelay_priv.h
ehouse 3054637842 heartbeats: send to clients in connection response; note when
heartbeat and other messages arrive; and periodically reap sockets
that haven't been active in long enough.
2005-06-23 04:26:44 +00:00

15 lines
335 B
C

/* -*-mode: C; fill-column: 78; c-basic-offset: 4; -*- */
#ifndef _XWRELAY_PRIV_H_
#define _XWRELAY_PRIV_H_
typedef unsigned short HostID;
typedef unsigned short CookieID; /* stands in for string after connection established */
void logf( const char* format, ... );
void killSocket( int socket, char* why );
time_t now();
#endif