| 14 |
|
|
| 15 |
#include "StdAfx.h" |
#include "StdAfx.h" |
| 16 |
#include ".\bbsd.h" |
#include ".\bbsd.h" |
| 17 |
#include ".\nntp_active.h" |
#include ".\base_active.h" |
| 18 |
|
|
| 19 |
using namespace std; |
using namespace std; |
| 20 |
|
|
| 78 |
"注册用户数[\033[36m%ld\033[32m]\r\n" |
"注册用户数[\033[36m%ld\033[32m]\r\n" |
| 79 |
"\033[1;37m本站目前尚未开设telnet服务 请使用Web方式访问\r\n\r\n" |
"\033[1;37m本站目前尚未开设telnet服务 请使用Web方式访问\r\n\r\n" |
| 80 |
"\033[1;32m http://%s \033[m\r\n", |
"\033[1;32m http://%s \033[m\r\n", |
| 81 |
this->innd_name,u_online,MAX_THREAD,u_anonymous,u_total, |
this->innd_name,u_online,MAX_CLIENT,u_anonymous,u_total, |
| 82 |
this->innd_server,this->innd_server); |
this->innd_server,this->innd_server); |
| 83 |
|
|
| 84 |
this->s_send(out); |
this->s_send(out); |
| 128 |
|
|
| 129 |
int bbsd::Shutdown(void) |
int bbsd::Shutdown(void) |
| 130 |
{ |
{ |
| 131 |
nntp_active nntpClient; |
base_active nntpClient; |
| 132 |
|
|
| 133 |
if (this->thread_terminate) |
if (this->thread_terminate) |
| 134 |
return 1; |
return 1; |