Data compression in Socket

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Biku

    Data compression in Socket

    Hi I have written a client/server socket programme in Linux. Now I need
    to compress data using zip or bzip2 compression or whatever is possible
    before sending the data via socket to the remote end. It will be great
    if the client and server can interoperate in linux and windows.

    thanks a lot!
    biku

  • Walter Roberson

    #2
    Re: Data compression in Socket

    In article <1107979218.670 976.71930@o13g2 000cwo.googlegr oups.com>,
    Biku <rohitnepali@ya hoo.com> wrote:
    :Hi I have written a client/server socket programme in Linux. Now I need
    :to compress data using zip or bzip2 compression or whatever is possible
    :before sending the data via socket to the remote end. It will be great
    :if the client and server can interoperate in linux and windows.

    So do it already. You can get bzip library sources easily enough,
    and when I've looked at similar libraries they have always included
    the facility to compress strings in memory as well as to compress files.
    --
    Oh, to be a Blobel!

    Comment

    • Rich Gibbs

      #3
      Re: Data compression in Socket

      Bike said the following, on 02/09/05 15:00:[color=blue]
      > Hi I have written a client/server socket programme in Linux. Now I need
      > to compress data using zip or bzip2 compression or whatever is possible
      > before sending the data via socket to the remote end. It will be great
      > if the client and server can interoperate in linux and windows.
      >[/color]

      This really is not a question about the C language. The group
      comp.unfix.prog rammer is probably better for this sort of thing.

      [OT]
      The 'lib' compression library is available for both Linux and Windows:


      Descriptions of the compressed formats are in RFC 1950-1952.
      [/OT]

      --
      Rich Gibbs
      rgibbs@alumni.p rinceton.edu

      Comment

      • Gregory Toomey

        #4
        Re: Data compression in Socket

        Biku wrote:
        [color=blue]
        > Hi I have written a client/server socket programme in Linux. Now I need
        > to compress data using zip or bzip2 compression or whatever is possible
        > before sending the data via socket to the remote end. It will be great
        > if the client and server can interoperate in linux and windows.
        >
        > thanks a lot!
        > biku[/color]

        Good for you.

        gtoomey

        Comment

        Working...