$Log$
+ Revision 580.21 2001/08/11 03:51:56 ajc
+ * Removed the idle timer from the client. Dialup is dead.
+
Revision 580.20 2001/08/06 21:33:29 nbryant
made the client fall back on port 504 if there's no /etc/services entry
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
tv.tv_usec = 0;
time(&now);
- if (((now - start_time) > SLEEPING)
- && (SLEEPING != 0) && (getppid() == 1)) {
- printf("Sleeping? Call again.\n");
- logoff(SIGALRM);
- }
select(1, &rfds, NULL, NULL, &tv);
} while (!FD_ISSET(0, &rfds));
*/
#define CHATLOG "chat.log"
-/*
- * SLEEPING refers to the watchdog timer. If a user sits idle without typing
- * anything for this number of seconds, the session will automatically be
- * logged out. Set it to zero to disable this feature.
- * Note: the watchdog timer only functions when the parent is 1 (init) - in
- * other words, only if Citadel is the login shell.
- */
-#define SLEEPING 180
-
/*
- * S_KEEPALIVE is also a watchdog timer, except it is used to send "keep
+ * S_KEEPALIVE is a watchdog timer. It is used to send "keep
* alive" messages to the server to prevent the server from assuming the
* client is dead and terminating the session. 30 seconds is the recommended
* value; I can't think of any good reason to change it.