Re: Jabber libraries suitable for Cocoa apps?
Re: Jabber libraries suitable for Cocoa apps?
- Subject: Re: Jabber libraries suitable for Cocoa apps?
- From: Dmitry Dolinsky <email@hidden>
- Date: Mon, 4 Aug 2008 08:57:24 -0700
There is also gloox. It's a C++ library with similar integration
issues as you describe for Loudmouth. I believe it does give you
access to XMPP socket that you could register with your runloop though.
--Dmitry
On Aug 3, 2008, at 11:52 AM, Jens Alfke wrote:
I'm considering using the Jabber (XMPP) protocol in a Cocoa app. Does
anyone know of a good library for this?
There's Loudmouth, a C library based on GLib, but it looks like it'd
be difficult to integrate into a Mac app because GLib has its own
runloop-like construct, so I'd have to run that on its own thread and
use inter-thread messaging between the Loudmouth code and my own code.
(Back last winter someone posted that they were working on a Mac
wrapper for Loudmouth, but nothing seems to have come of it.)
The alternative would seem to be to use one of the Python or Ruby
implementations, via the scripting bridge. But this would have more
overhead, and I suspect would also have threading issues if the
library uses blocking I/O.
Any other possibilities?
—Jens
<smime.p7s><ATT00001.txt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden