Rozdiely pre libplaton/utils/server-backend/relayd.c medzi verziami 1.5 a 1.6
verzia 1.5, 2007/11/09 08:22:56 |
verzia 1.6, 2011/03/06 00:43:22 |
|
|
* - write some debug information to STDERR |
* - write some debug information to STDERR |
*/ |
*/ |
|
|
/* $Platon: libplaton/utils/server-backend/relayd.c,v 1.4 2007-11-08 12:24:51 nepto Exp $ */ |
/* $Platon: libplaton/utils/server-backend/relayd.c,v 1.5 2007-11-09 08:22:56 nepto Exp $ */ |
|
|
/* |
/* |
* relayd.c -- a relay daemon (using one targethost/port) |
* relayd.c -- a relay daemon (using one targethost/port) |
|
|
#define BUFSIZE 10000 |
#define BUFSIZE 10000 |
|
|
/* adjust this to a reasonable limit */ |
/* adjust this to a reasonable limit */ |
#define MAXUSERS 20 |
#define MAXUSERS 200 |
|
|
/* message printed if all slots are used ... */ |
/* message printed if all slots are used ... */ |
#define FAILMESSAGE "Sorry, all slots are full.\r\n" |
#define FAILMESSAGE "relayd.c: sorry, all connection slots are full\r\n" |
|
|
/* string printed before connection */ |
/* string printed before connection */ |
#define RELAYHEADER "" |
#define RELAYHEADER "" |
Platon Group <platon@platon.sk> http://platon.sk/
|
|