[JDEV] JabberD 2.0 portability

Thomas Muldowney temas at box5.net
Sun Feb 16 17:51:39 CST 2003


I might help with this because I too was looking at building jabberd2 on
win32.  The 1.4.2 win32 exe is just causing headaches so I'd like to be
able to move over as soon as jabberd2 is released.

--temas


On Mon, Feb 17, 2003 at 10:17:49AM +1100, Robert Norris wrote:
> > I would just like to say that the JabberD 2.0 code looks awesome. I
> > have to say that Rob has done an awesome job. 
> 
> I can't take all the credit for it, but thanks :)
> 
> > However, JabberD's networking code still seems very much a pure Unix
> > / Posix implementation. This makes it difficult to get it to run on
> > Windows w/o the Cygwin layer. Would their be some consideration to
> > migrate some of the JabberD 2.0 code to use APR?  
> 
> I've actually been thinking about this over the weekend. I've just had a
> quick look at the APR API, and it looks like it would be fairly trivial
> to move towards it for the networking stuff (wrappers around most POSIX
> network functions (read/write/connect/accept/etc), and a poll wrapper).
> 
> One thing I don't want to do is make APR a dependency, so I'd prefer to
> use the standard functions by default, and make APR a compile option.
> It doesn't look like this would be terribly complex, just some minor
> code reorg to allow calls to read and write to be replaced (MIO is used
> for everything else).
> 
> I've added it as a TODO item, though its not prioritised. I'll have a
> more thorough look at the APR docs, and if it seems that it will be
> straightforward, I'll look at getting in for 2.0. Otherwise, 2.2 is more
> likely.
> 
> Rob.
> 
> -- 
> Robert Norris                                       GPG: 1024D/FC18E6C2
> Email+Jabber: rob at cataclysm.cx                Web: http://cataclysm.cx/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20030216/35a1c1cc/attachment-0002.pgp>


More information about the JDev mailing list