first of all thanks. I forgot to put HTTP/1.1 only in the code i put as example but the result is the same. No, is not a domain name but a server on my LAN, it is also strange that with the same code many time everything works and some time not. Can you explain me better when I need to use the "close" function? I have searched on the internet but not well understood when it is necessary to call it.
Thanks