[JDEV] Server modules

Glenn MacGregor gtm at oracom.com
Tue Aug 28 10:36:45 CDT 2001


Hi All,

I am writing a server module to answer certain iq namespace query's.  I need to malloc memory here for a file I am sending back over IM.  First question, should I create a new jpacket or use the incoming and reset it (I need to hide nodes on that as well)?  Second, When I malloc the mem, I get a server core dump in _pool_free.  I tried to use malloc and free and create a pool and use pmalloc and pool_free.  Neither seem to work?

    Thanks

            Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20010828/6f308ba1/attachment-0002.htm>


More information about the JDev mailing list