Communicating with my Jabberd server

Hello all,

I deving a client (non IM) and I’'m using the XIFF library.

The XML messages sent to my Jabber 1.4.3 server are terminated by null, as is supposed to be.

However, my server does not give me a response. If I send the exact same message thru putty, I get a response…

Any idea how I can this to work?

Thanks

poldee

Message was edited by:

poldee

What params are you using on your XMPPConnection.connect() method call?

For jabberd 1.4.3 you should use connect( “flash” ) because jabberd expects an opening <flash:stream … > instead of <stream:stream …>

That’'s what I use…

I’'m at a loss. Is there a setting on the Jabber server to turn on or off the null char support?

Thanks

A bit more info:

This is what I get in debug mode on my jabber server when I use flash:

Mon Jul 25 16:56:31 2005 mio.c:977 MIO read from socket 19: <?xml version="1.0"?><flash:stream to=“192.168.1.201/test” xmlns=“jabber:client” xmlns:flash=“http://www.jabber.com/streams/flash” version=“1.0”>

Mon Jul 25 16:56:31 2005 mio.c:816 mio while loop top

This is what I get when I send the same request in putty I login to me server on port 5222 in RAW mode:

Mon Jul 25 16:59:43 2005 c2s Recieved connection to: 192.168.1.201/test

Mon Jul 25 16:59:43 2005 mio.c:1274 mio_write called on x: 0 buffer: <?xml version=''1.0''?><flash:stream xmlns:flash=’‘http://www.jabber.com/streams/flash’’ xmlns:stream=’‘http://etherx.jabber.org/streams’’ xmlns=’‘jabber:client’’ id=’‘42E552BF’’ from=’‘192.168.1.201/test’’>

Mon Jul 25 16:59:43 2005 mio.c:418 write_dump writing data: <?xml version=''1.0''?><flash:stream xmlns:flash=’‘http://www.jabber.com/streams/flash’’ xmlns:stream=’‘http://etherx.jabber.org/streams’’ xmlns=’‘jabber:client’’ id=’‘42E552BF’’ from=’‘192.168.1.201/test’’>

I hope this helps you help me.

Have a great day

poldee

I don’'t think the server has a setting to turn this on or off (unless you compiled it differently). It should work, as I did all the original testing and development of XIFF with jabberd 1.4.3. Try using connect( “terminatedFlash” )