| 1 |
/*******************************************************/ |
/*******************************************************/ |
| 2 |
/* */ |
/* */ |
| 3 |
/* LeafOK Innbbsd */ |
/* LeafOK Innbbsd */ |
| 4 |
/* Copyright (C) LeafOK.com, 2003-2004 */ |
/* Copyright (C) LeafOK.com, 2003-2005 */ |
| 5 |
/* */ |
/* */ |
| 6 |
/* Programmed by Leaf */ |
/* Programmed by Leaf */ |
| 7 |
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
| 63 |
|
|
| 64 |
syslog.open(app_path + log_file, ios_base::out | ios_base::app); |
syslog.open(app_path + log_file, ios_base::out | ios_base::app); |
| 65 |
|
|
| 66 |
|
// Report program information |
| 67 |
|
syslog << "********************" << endl; |
| 68 |
|
syslog << App_common::GetVersion() << endl; |
| 69 |
|
syslog << App_common::Copyright << endl; |
| 70 |
|
syslog << logfile::log_head << "Starting up..." << endl; |
| 71 |
|
|
| 72 |
// Initialize sockets |
// Initialize sockets |
| 73 |
if(!AfxSocketInit()) |
if(!AfxSocketInit()) |
| 74 |
{ |
{ |