I have found out now that I need to use inflate instead of gzip.
I would like to use IO::Uncompress::Inflate , but I do not manage to get it working with sockets and not with files.

In reply to Re^2: Reading a GZIP network stream by weismat
in thread Reading a GZIP network stream by weismat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":