[Haskell-cafe] Re: ANNOUNCE: network-protocol-xmpp 0.3
Sergei Trofimovich
slyich at gmail.com
Fri May 7 13:09:53 EDT 2010
On Mon, 3 May 2010 07:43:25 -0700
John Millikin <jmillikin at gmail.com> wrote:
> My library, network-protocol-xmpp[2], is an implementation of most of
> RFC 3920 and a bit of RFC 3921. It supports opening client-to-server
> and component-to-server sessions, which is useful for implementing
> XMPP-based clients. This library's interface is very simple: clients
> may start a session with 'runClient' or 'runComponent', send and
> receive stanzas, and resume stored sessions. Later, I intend to add
> additional modules to support features such as MUC or file
> transmission, but for now I'd like to make sure the core library
> works. There's an example XMPP client, echo.hs[3], in the Darcs
> repository.
Hi, John and Stephan!
It's very nice to see such thing on hackage. I'm planning
to write some long hanging notification robots at work using
your library, so I have some questions and comments:
1. gsasl hackage package did not build for me against libgsasl-0.2.28.
It did not define _MAJOR _MINOR macros, So I had to update
up to libgsasl-1.4 which worked fine. Is there way to put constraints
to pkgconfig-depends to .cabal file?
2. Just running echo.hs example causes it to be closed on timeout
from server side (we use OpenFire and idle timeout there is 6 minutes).
So my question is rore about library design abilities: can you inject ping
stanzas (on expired timeout) messages into that example too?
Thanks!
--
Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100507/15723d83/signature.bin
More information about the Haskell-Cafe
mailing list