Re: Newbie problem
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Fri, 21 Oct 2005 22:49:23 +0200
On Friday October 21 2005 00:14, Lou wrote:
> 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.

Sorry, I'm not prepared to open the repository. I think I can manage to get 
bugfix releases out on a more regular basis, though.


> > > 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.

You won't have to deal with incomplete stanzas. That's something the parser 
has to cope with anyway since there is no guarantee that recv() fetches a 
complete stanza.
Let's see what I can come up with today and tomorrow.

cheers,
Jakob

Attachment: pgpKfJRft8UdI.pgp
Description: PGP signature

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