[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Logging package for Common C++ / SocketPort connecting constructor
From: |
Prochnow, Christian |
Subject: |
Logging package for Common C++ / SocketPort connecting constructor |
Date: |
Sat, 2 Nov 2002 14:01:16 +0100 |
User-agent: |
KMail/1.4.3 |
Hi List,
i have to things, first thing is:
I've done a logging package for Common C++ 2 that's more powerfull than the
sLog class provided, and i want to contribute it to the Common C++ Libraries
as "cclog".
The logging class supports multiple logging targets which can also be
dynamically loaded from plugins. Some first Logtarget-Plugins for logging to
console, files, oracle and mysql databases are included in the package.
second thing:
For a network protocol daemon i needed to patch the SocketPort class that it
can do non-blocking outbound tcp connections - but i did'nt find a nice name
for it cause of the udp constructor.
Any suggestions how this should be done in the preffered Common C++ way?
1. Solution is modifiying the "UDP" constructor that it takes additional
arguments.
2. Solution is to provide a static function that returns a connecting
SocketPort object.
Regards,
Christian Prochnow
- Logging package for Common C++ / SocketPort connecting constructor,
Prochnow, Christian <=