Home > other >  Please use libcurl library HTTP client to write, how to receive data server comes back?
Please use libcurl library HTTP client to write, how to receive data server comes back?

Time:10-10

Server-side wrote the dopost function, receives the client sends data, the output, writeUTF (rjson. The toString ()); Back a bag of the json data, but on the client (Linux) but have not received this packet data, the client has use curl_easy_setopt set CURLOPT_WRITEFUNCTION callback function, also can enter the callback function, but the incoming buffer is no data in it? Or am I wrong?
  • Related