cURL / Mailing Lists / curl-library / Single Mail


How to separate two different response

From: smruti kumari <>
Date: Tue, 17 May 2016 12:50:02 +0530

Hi Daniel,

I am sending a http request and adding josn data in the body.Similary
server also responding with json body.The response packet we will recv in
the write callback.But my query is

How can we come to know that how much bytes I need to receive for the
particualr response ?

The problem will aries when two different response(one after anther) will
come for a request.
How can we separate these two response ?
How much bytes for 1st response and how much bytes for 2nd response ?


List admin:
Received on 2016-05-17