Hi,

I am getting "No such process" error when curl_easy_perform() gets executed.
here are the steps i am doing:


    curl_easy_setopt( ctx , CURLOPT_INTERFACE,  "192.168.160.222" ) ;
    curl_easy_setopt( ctx , CURLOPT_LOCALPORT, 4433 );

    /* Set HTTP version to be used as HTTP1.1
     */
    curl_easy_setopt(ctx, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);


    curl_easy_setopt( ctx , CURLOPT_WRITEDATA ,ctx);
    curl_easy_setopt( ctx , CURLOPT_WRITEFUNCTION , write_data );
    curl_easy_setopt(ctx, CURLOPT_HEADERFUNCTION, headercb);

    /* Get curl handle here
     * If return type is not CURLE_OK log error
     */
    printf("\nInside session thread");
    res = curl_easy_perform(ctx);
    if(CURLE_OK != res)
    {
        printf("\nError: %s\n", strerror(res));
    }
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to