Re: HTTP client as new child process
Date: Wed, 20 Feb 2013 18:46:06 +0530
I want to read data from parent process through pipe. If i use the
character pointer to read the data, then some garbage values are
stored in the character array, but if i use character array of fixed
length, then data is read as it is.
This problem occurs when i use the libcurl functions.
I am WriteCallback function to get responses from server and store in
memory as given n example http://curl.haxx.se/libcurl/c/getinmemory.html
The source code that I have attached, it is character pointer, working part
i have commented out.
Can anyone Please tell me what goes wrong when i am using character pointer.
- text/x-csrc attachment: f.c