<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Does socket.h send() function timeout? Cant find it in the documentation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90336/does-socket-h-send-function-timeout-cant-find-it-in-the-documentation</link><description>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&amp;#39;t find any information about the function will time out (example bad connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jul 2022 12:39:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90336/does-socket-h-send-function-timeout-cant-find-it-in-the-documentation" /><item><title>RE: Does socket.h send() function timeout? Cant find it in the documentation</title><link>https://devzone.nordicsemi.com/thread/378541?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2022 12:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19293a09-29f0-4a93-b2d4-4d82884408f7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The timeout for send() function is infinite. However, there are&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/nrf_modem/doc/api.html#c.NRF_SO_SNDTIMEO"&gt;BSD socket options&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/nrf_modem/doc/api.html#c.NRF_SO_SNDTIMEO"&gt;nRF generic socket options&lt;/a&gt;&amp;nbsp;which could specify send timeout.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>