Re: Newbie problem
From: Lou <lou@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 00:14:34 +0200
On Thu, Oct 20, 2005 at 10:47:46PM +0200, Jakob Schroeter wrote:
> Hi Lou.
> 
> > Is the patch "already applied" there?
> Yes, the issue is fixed in gloox' SVN.

Cool.  Though I don't need it yet, is there anonymous access to the svn
repository?  I thought I had found the CVS repository, but that was a
different project.  The latter did provide me with the stanza patch for
0.7-pre1, though.

> > > > One more question:
> > > > Is there a way to get a file descriptor or something that I can
> > > > select() on to tell that a message has arrived?
> > >
> > > There is no such functionality. However, since somebody else already
> > > asked for this, I've put it on my todo for 0.7-final.
> >
> > What sort of mechanism do you have in mind?
> 
> Access to the raw file descriptor for easy select()ing.

That ought to work.
It should be easy enough.  One just needs the necessary accessors to be
able to get the value of Connection::m_socket.  One in Connection and one
in ClientBase.  It could result in spurious alerts (incomplete, ignored,
internally handled stanzas), but that is much better than having to wait
for a timeout to elapse to do other work.

Too bad I've already done the work to make threading work, but if I
decide to handle TLS certs, I'll have to ditch threading (or increase
code complexity considerably); so this will come in very handy.
Actually, I may as well ditch the threading now and add the
aforementioned accessors to my copy of the code, planning to change to
whatever mechanism you instrument when I upgrade gloox.

> > Is there a projected date for 0.7-final?  Nothing that you will be held
> > to; just a general idea.
> 
> I hope to get a pre2 out on the weekend, with a fixed/complete Data Forms 
> implementation. Other than that -- dunno. Stream compression is still not 
> really tested, due to unfinished/unavailable server implementations. Maybe 
> I'll ditch the test and release as 'experimental'.
> Definitely not more than a month, though. ;)

Ok, cool.  That's the sort of answer I was looking for.



-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx