home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,747 of 14,669   
   Glen Herrmannsfeldt to Jorge   
   Re: What is the best method for streamin   
   03 Mar 09 21:22:01   
   
   192f978a   
   From: gah@ugcs.caltech.edu   
      
   Jorge wrote:   
      
   > I am researching the most efficient method for streaming text over the   
   > internet. The text is compressed. Currently, I am zipping the text,   
   > and sending it over a tcp socket. This is a "real-time" application,   
   > so the zip file is sent in small pieces. Problem is, the header to   
   > payload ratio is quite large, so not very efficient.   
      
   I am not sure about zlib, bug gzip can compress a stream of   
   data of any length.  I usually do something like:   
      
   gzip < infile | rsh somewhere "gunzip > outfile"   
      
   (I am not so sure about the quotes, but that should   
   show the idea.)   
      
   -- glen   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca