bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Non Threaded use of TCPSocket with select/poll?


From: Federico Montesino Pouzols
Subject: Re: Non Threaded use of TCPSocket with select/poll?
Date: Mon, 6 Jan 2003 17:15:05 +0100
User-agent: Mutt/1.4i

        If you only want a limited number of threads and to simulate
concurrency through select/poll, I think the SocketPort and
SocketService classes are the most adequate classes in Common
C++. There is a tcpservice demo that shows how to use them.

On Fri, Jan 03, 2003 at 08:26:11PM +0000, Jeremy Noetzelman wrote:
> I'm more concerned about having a proper select polling loop for the
> server socket ... I'm less concerned about the client connection sockets.
> 
> On Fri, 3 Jan 2003, Albert Strasheim wrote:
> 
> > Hello,
> >
> > >From the Common C++ documentation for tcpstream (not TCPStream):
> >
> > A more natural C++ "tcpstream" class for use by non-threaded
> > applications. C++ "fstream" style tcpstream class.
> >
> > I don't know if this is what you want?
> >
> > Cheers,
> >
> > Albert
> >
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




reply via email to

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