[jdev] Re: Stream compression with jzlib?
Hi Vinod, Haven't managed to find MiniClient - a link would be helpful. The MiniClient is only a sample client for our agsXMPP library. You can download it here: http://www.ag-software.de/index.php?option=contenttask=viewid=73Itemid=104 Or ping me by jabber or email. Alex
Re: [jdev] Re: Stream compression with jzlib?
Hi, The stream compression impl on my server is working with a ppc client that uses ICSharpZipLib. But its not able to decompress data sent by Pandion and Exodus. During decompression, jzlib gives Z_DATA_ERROR with the message - unknown compression method. I'm calling inflate() with the param Z_FLUSH_SYNC inflateInit() was called without any params. Haven't managed to find MiniClient - a link would be helpful. Any other clients that I can test with? Regards, Vinod.
[jdev] Re: Stream compression with jzlib?
Hey Vinod, Wildfire also uses jzlib for stream compression. Since Wildfire is an open source server you can take a peek at the code. Regards, -- Gato Vinod Panicker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 2/27/06, Vinod Panicker [EMAIL PROTECTED] wrote: Hi, Has anyone successfully managed to do Stream Compression with jzlib? I've been trying unsuccessfully for the past few days... Its not matching the output generated by the original C zlib library, nor is jzlib able to decompress its own compressed output. Is it broken? Got it working now :) Anyone else who uses this, don't use inflateInit() with an argument. Use the no argument method. Regards, Vinod.
Re: [jdev] Re: Stream compression with jzlib?
Hi, On 2/27/06, Gaston Dombiak [EMAIL PROTECTED] wrote: Hey Vinod, Wildfire also uses jzlib for stream compression. Since Wildfire is an open source server you can take a peek at the code. I took a look at SocketConnection.java, where ZOutputStream is being used. Have you tested for compatibility with other stream compression implementations? I didn't get expected results when using ZOutputStream and ZInputStream. I'm currently using the ZStream class directly. Regards, Vinod.
[jdev] Re: Stream compression with jzlib?
Norman Rasmussen schrieb: fyi: when using the ICSharpZipLib with .net I found that the one stream constructor's logic was in fact reversed! So I'd say test it with the boolean missing, and true, and false. here is the code of my socket class which is using the ICSharpZipLib and which was tested from Gato with the MiniClient. I also tested it with the SoapBox server. https://thecave.myjabber.net/svn/ags/XMPP/agsxmpp/trunk/net/ClientSocket.cs Alex
[jdev] Re: Stream compression with jzlib?
On 2/27/06, Vinod Panicker [EMAIL PROTECTED] wrote: Hi, Has anyone successfully managed to do Stream Compression with jzlib? I've been trying unsuccessfully for the past few days... Its not matching the output generated by the original C zlib library, nor is jzlib able to decompress its own compressed output. Is it broken? Got it working now :) Anyone else who uses this, don't use inflateInit() with an argument. Use the no argument method. Regards, Vinod.