You may need to implement
#skip:, #size, #position: and possibly few other methods for the classes
GZipReadStream and InflateStream.
I did not try them on sockets, but I have to make those changes for my
application to work with external files with "on the fly" compression.
So my application reads and writes on the stream regardless if it is
compressed stream, or just binary stream on file.
Also with the sockets you have to play with encoding.
Hope this helps,
--Mark
Cham Püschel wrote:
> Hi,
>
> Did anyone ever use the Compression-ZLib on a socketconnection?
> I tried to set something up but got a Z_STREAM_ERROR.
> Any pointers would be nice.
>
> Regards
>
> Cham
>
>
>