Compression

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • adding zlib to C server and Java client

    1 answers - 592 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    (Apologies in advance if this is posted to the wrong group.
    Suggestions on where to ask instead would be welcomed)
    I'm attempting to add zlib compression to a client/server app, where
    the server is written in C and the client is a Java applet. Has anyone
    had any experience with this? Specifically, is it easier or better to
    use the Inflater class or the InflaterInputStream class in my client?
    What about on the server side; should I use deflate() and inflate(), or
    compress() and decompress()?
    Thanks in advance for any help.
    - Dan
  • No.1 | | 733 bytes | |

    2006-01-05, Dan <orzechod@gmail.comwrote:
    (Apologies in advance if this is posted to the wrong group.
    Suggestions on where to ask instead would be welcomed)

    I'm attempting to add zlib compression to a client/server app, where
    the server is written in C and the client is a Java applet. Has anyone
    had any experience with this? Specifically, is it easier or better to
    use the Inflater class or the InflaterInputStream class in my client?
    What about on the server side; should I use deflate() and inflate(), or
    compress() and decompress()?

    I'd be looking to use gzwrite() etc at the C end,
    gzdopen() can attach a gzfile to a write()able socket etc

    Bye.
    Jasen

Re: adding zlib to C server and Java client


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Compression"

EMSDN.COM