Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 28479

Re: Ethernet Library: sketch crashes when remote client closes connection

$
0
0

Hi Alex,

Thanks for the fix on this one. I was also having the same problem in that I was using Galileo as a web server and intermittently the web server program would crash (i.e. with IDE serial window open I would get ** B0100000063f694). The crash would occur sometimes when a web browser client asked for a page refresh from the server. I was going crazy trying to troubleshoot this and then I found your post. I followed the instructions and added the following to my sketch and now everything works great with no crashes.

 

1. Add #include <signal.h> at the start of the sketch

2. Under "void setup()" added signal(SIGPIP,SIG_IGN);

 

Thanks


Viewing all articles
Browse latest Browse all 28479

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>