Hey Jesse, I don't know about the XMPP implementation that Dreamhost uses, but some of these servers don't like to return a null byte to terminate the stanza which Flash XMLSocket requires. Sometimes you need to give the Jabber server a special initiator to let it know that you are a Flash client and therefore need this null terminator.
Sean Voisen originally wrote the XIFF library for the 1.4 version of the JabberD server. This was before he joined with Jive. Anyway, that server didn't require you to pass anything special to connect with a Flash client so the initial handshake was simply:" <?xml version=\"1.0\"?><stream:stream to=...." Jive's server, Wildfire, requires that you pass it a "<flash:stream" to let it know. I actually helped Sean out with getting that connect method of the XMPPConnection class to have mutiple "streamTypes" cause I was using another server (Antepo) at the time and the default intiator didn't work. So, now there are four different stream types to choose from depending on the server you are using. I would suggest that you try out all of the streamTypes and see if one of those works. If Dreamhost uses the 2.x version of JabberD, then I think you might be screwed, as those guys are hard core and said that returning a null byte is not part of the XMPP spec, and they wanted to be %100 compliant. At least this was the case a year ago. Anyway, feel free to IM me if you have any questions, I might be able to help as I do use the XIFF library on a daily basis. Good luck. -Chris P.S. You may want to add this method to the XMPPConnection class, as it will allow you to pass plain Strings to the server thus allowing you to try out things easier. /** * Sends a raw String or XML object through to the XMPP server. * Typically used for debugging purposes. (added by Chris Allen on 04/18/2005) * * @availability Flash Player 7 * @param o The raw data to send. */ public function sendRaw( o:Object ):Void { sendXML(o); } On 2/12/06, JesterXL <[EMAIL PROTECTED] > wrote: > > Anyone gotten the Jive Software XIFF classes to work with the jabber > servers > at Dreamhost? > > I went to the admin panel, setup a user, waited for it to get approved, > but > although the XMLSocket connects, I just get a sent in the trace panel, > even > when adding my own traces to the classes. Jabber.org/echo actually spit > back that my XML was malformed... not a good sign. I'm aware Jivesoftware > has forums, but I have more faith in this list than I do after reading > just > 1 page of those forums. > > --JesterXL > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com