[Twisted-Python] Jabber client/server
exarkun at divmod.com
Mon Nov 15 10:01:11 EST 2004
On Mon, 15 Nov 2004 12:22:38 +0600, Petr Gladkikh <batyi at mail.ru> wrote:
> I am trying to write simple messaging application to do some
> automation at my work. I want to use Jabber protocol and hoped to find
> some "Hello world" client and server code sample for it which works
> right "out of box" to start from. But looking through the mailing list
> I found that information on this subject is sparse and all do not work
> without modification. So here are questions:
> 1. Seems that jabber protocol support in twisted is very basic and it
> requires to study JEPs to create even basic application. If so, is
> there any effort to provide more functionality to Jabber in twisted or
> I should rely on something like twibber library to use it? Everything
> I managed to find by now is partial code samples and no working
> applications which use twisted/Jabber in contrast to other protocols
> which you can made to work with a handful o lines.
As far as I know, no one is actively improving Twisted's jabber support.
> 2. Is twisted supposed to be platform independent? There are parts of
> code which utilize fcntl module which does not work on Windows. So I
> can not utilize them.
Twisted is not platform independent by any means. It _does_ allow _you_ to write platform independent programs, though. It also exposes useful platform-specific functionality non-uniformly across different platforms, either because no one has requested the functionality on some of those platforms, or because those platforms are incapable of providing said functionality.
For the fcntl module in particular, I believe this only restricts you from using the conch client and the generic stdio support on Windows. The rest of Twisted will function fine.
More information about the Twisted-Python