Hi,

On Wed, Mar 31, 2010 at 04:50:51PM +0300, Sergiu Ivanov wrote:

> I want to teach nsmux to listen to the ``dead name'' notifications on
> proxy ports pointing to anonymous translators.  In less specific
> words, I have a port to a translator and I want to know when the
> translator has gone away.
> 
> Several people (Fredrik and Thomas) mentioned that I could achieve
> this using some special libports' notification interface.

For the curious ones: after some further groping, we arrived at the
conclusion that libports is neither meant nor suitable in any way to
deal with ports we only hold the client end of; and so the libports
notification handling is meaningless here.

To listen for client-side notifications, we need an own handler --
either in a distinct server loop in an extra thread (like in boot for
example); or diverting the client-side notifications out of the main
server loop by means of major hackery...

-antrik-


Reply via email to