Does socket.h send() function timeout? Cant find it in the documentation

Hi,

I am trying to send data to a http server, and are trying to error handle. I am looking trough the documentation on the send() funciton in the socket.h library, but can't find any information about the function will time out (example bad connection etc.). Is there a timeout on the function, and if it is, how long will it wait? 

link to the documentation:

https://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html

Regards,

Elias

Parents Reply Children
No Data
Related