bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of Common C++


From: Gustaf Räntilä
Subject: Use of Common C++
Date: Mon, 16 Jun 2003 16:09:16 +0200

Hello all,

I have ran into a few problems. When I first looked att cc++ I thought
Wow - a package with file, thread and socket classes that I don't have
to write myself! Now I'm not that amused any more.
What I'm writing is a server for windows and linux. SocketService seems
nice. It says it can act as a single-threaded server, the problem is
that I don't know how. I looked at the example of this server, that had
strange lists and itemlists and weird stuff. It said it was
"single-threaded" but used subclassed Thread classes etc... I just Don't
want that. Q1; Is there a SIMPLE example of a SIMPLE single-threaded
socket server somewhere out there? If the classes are well written, such
examples whouldn't need to be many lines and wouldn't need to subclass
dozens of classes.
About the File classes - Q2; Is there one class that handles files and
Nothing else? I don't need threaded file classes nor mapped things or
such. Just (again) a Simple class that I don't want to (since there
shouldn't be no reason to) subclass?
This lib seems to include many useful things, but now I'm only confused
with everything, and reference-dox that usually is all I need won't help
me. Hopefully one of you can :-)

/Gustaf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]