| 1 |
/*******************************************************/ |
/*******************************************************/ |
| 2 |
/* */ |
/* */ |
| 3 |
/* LeafOK Innbbsd */ |
/* LeafOK Innbbsd */ |
|
/* Copyright (C) LeafOK.com, 2003-2004 */ |
|
| 4 |
/* */ |
/* */ |
| 5 |
/* Programmed by Leaf */ |
/* Copyright (C) LeafOK.com, 2003-2008 */ |
|
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
|
| 6 |
/* */ |
/* */ |
| 7 |
/* http://bbs.leafok.com */ |
/* http://www.leafok.com */ |
|
/* http://bbs.leafok.net */ |
|
|
/* http://bbs.fenglin.info */ |
|
| 8 |
/* */ |
/* */ |
| 9 |
/*******************************************************/ |
/*******************************************************/ |
| 10 |
|
|
| 59 |
|
|
| 60 |
syslog.open(app_path + log_file, ios_base::out | ios_base::app); |
syslog.open(app_path + log_file, ios_base::out | ios_base::app); |
| 61 |
|
|
| 62 |
|
// Report program information |
| 63 |
|
syslog << "********************" << endl; |
| 64 |
|
syslog << App_common::GetVersion() << endl; |
| 65 |
|
syslog << App_common::Copyright << endl; |
| 66 |
|
syslog << logfile::log_head << "Starting up..." << endl; |
| 67 |
|
|
| 68 |
// Initialize sockets |
// Initialize sockets |
| 69 |
if(!AfxSocketInit()) |
if(!AfxSocketInit()) |
| 70 |
{ |
{ |