🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7647

how: Compressed objects thru sockets??

#7647
From: MarkW
Date: Fri, 01 Jun 2001 15:28
15 lines
1361 bytes
Hi people,
i�m trying desparately to send ** compressed ** objects thru an
ObjectOutputStream.
How can i gzip the objects on the server and then ungzip them on the
client??
I�ve seen lots of examples of zipping files etc. but none of zipping
objects.
Of course I would have loved to directly compress the OutputStream but this
doesn�t apparently work
(see www.jguru.com/faq/view.jsp?EID=3823) the author suggests a solution but
I need a code-example in order to understand.

Anybody got an idea?
Greetings,
Mark
Technical Details
Message-ID: <3b17b482$2_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,2ce7263a57c8a607,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-01 08:31:06 PST
From: "MarkW" <xx@yy.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: how: Compressed objects thru sockets??
Date: Fri, 1 Jun 2001 17:28:43 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 149.225.131.3
Message-ID: <3b17b482$2_2@dnews>
X-Trace: dnews 991409282 149.225.131.3 (1 Jun 2001 08:28:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews