I have modified the client following Daniel and Jakub's instructions and now 
it works correctly.
Thanks,
José Fernández



    En lunes, 12 de octubre de 2020 13:07:17 CEST, Daniel Stenberg 
<[email protected]> escribió:  
 
 On Mon, 12 Oct 2020, José Fernández via curl-library wrote:

> This program is capable of sending the message to the server and of 
> collecting the response from it, but as it is written, it sends the message 
> twice to the server

curl_easy_perform() performs a transfer. You call it twice. That makes two 
transfers.

-- 

  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/  
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to