bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Patch for connecting SocketPort constructor


From: Federico Montesino Pouzols
Subject: Re: Patch for connecting SocketPort constructor
Date: Thu, 7 Nov 2002 14:28:42 +0100
User-agent: Mutt/1.4i

        It is in CVS, for both 1.1 (HEAD) and 1.0 (-rRELEASE1). I have
also included your comments for the constructor doc.

        If you are using SocketService, it may be of interest to you
some mails that have been posted to this list very recently and at the
beginning of the past month.

On Wed, Nov 06, 2002 at 09:03:20PM +0100, Prochnow, Christian wrote:
> Hi,
> 
> i've patched the SocketPort class a bit to provide a non-blocking constructor 
> for outbound tcp connections.
> To detect when the connection is established, overload SocketPort::output().
> SocketPort::output()  get's called by the SocketService when the connection 
> is 
> ready, SocketPort::disconnect() when the connect failed. 
> at the moment you should set the socket state to "CONNECTED" when 
> SocketPort::output() get's called for the first time, which i think should 
> eventually be done in SocketService.
> 
> Regards, 
> Christian Prochnow







reply via email to

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