curl / Mailing Lists / curl-library / Single Mail


Re: Create Serverside Streaming connection using libcurl

From: Dan Fandrich via curl-library <>
Date: Sat, 30 Mar 2019 16:51:45 +0100

On Sat, Mar 30, 2019 at 02:29:34PM +0530, Prashant Shubham via curl-library wrote:
> On 3/30/19, Daniel Stenberg <> wrote:
> > I would say the opposite and claim that libcurl supports streaming of
> > virtually all protocols. At least the TCP based ones. libcurl will sit and
> > wait for data until data arrives and then it delivers it. Over and over
> > until
> > the end of connection (which might neve occur).
> Hi Daniel,
> It would be great help if you could point to some examples.

Almost all the example programs do this. That's just how libcurl works. Take
a look at for example. One of the
variables in the write callback is even called "stream".
Received on 2019-03-30