[EMAIL PROTECTED] wrote:
> As far as I know, there is not a prefabbed solution for this problem.
One
> issue that you must solve is the issue of buffering (when must some
data you've
> written to the compressor really go out to the other side) and the
issue of
> what to do when a read() or
John wrote:
>
> Is there anyway open a socket so that every send/listen/recv
> goes thru a zipping/unzipping process automatically?
You ought to be able to do this easily by wrapping a bz2 compressor
around the socket (maybe using socket.makefile() to return a file object
first) and probably us
As far as I know, there is not a prefabbed solution for this problem. One
issue that you must solve is the issue of buffering (when must some data you've
written to the compressor really go out to the other side) and the issue of
what to do when a read() or recv() reads gzipped bytes but these do
Is there anyway open a socket so that every send/listen/recv
goes thru a zipping/unzipping process automatically?
Thanks,
--j
--
http://mail.python.org/mailman/listinfo/python-list