<?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>recv failed with errno 134 using nrf5340dk with W5500 shield</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122190/recv-failed-with-errno-134-using-nrf5340dk-with-w5500-shield</link><description>Hello, 
 I am currently working with the nRF5340DK and the W5500 shield. Both work perfectly when using the dhcpv4_client application. However, when I attempt to use the recv function after creating a socket, it fails and returns a length of -1, with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jun 2025 13:15:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122190/recv-failed-with-errno-134-using-nrf5340dk-with-w5500-shield" /><item><title>RE: recv failed with errno 134 using nrf5340dk with W5500 shield</title><link>https://devzone.nordicsemi.com/thread/539055?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 13:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3f2ac5-87cc-4de5-9bf7-c8a85d73e373</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Youssef,&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have a W5500 shield here to reproduce and look into this issue. However,&amp;nbsp;could you please try these each of these two tweaks and see if they help?&lt;/p&gt;
&lt;p&gt;- Increase &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/kconfig/index.html#CONFIG_ETH_W5500_RX_THREAD_STACK_SIZE"&gt;CONFIG_ETH_W5500_RX_THREAD_STACK_SIZE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;- Use&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;recvfrom()&lt;/span&gt; instead of &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;recv()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>