<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>net_socket() fails if left idle for 1 minute</title>
<description> I can connect and load a webpage fine (for my leaderboards) but if I stop making connections for more than a minute and then try again I get a -126 result from s32 socket = net_socket(AF_INET, SOCK_STREAM, IPPROTO_IP);

I am not sure if this only happens to me on my router or if that is how the wii networking operates. How do I keep it alive? I don&amp;#039;t really need to be constantly loading the page but I&amp;#039;d like it to always be available for submiting scores.</description><link>http://forum.wiibrew.org/read.php?11,74990,74990#msg-74990</link><lastBuildDate>Mon, 17 Aug 2026 09:43:15 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,74990,74993#msg-74993</guid>
<title>Re: net_socket() fails if left idle for 1 minute</title><link>http://forum.wiibrew.org/read.php?11,74990,74993#msg-74993</link><description><![CDATA[ The cause is probably a poor wifi signal, maybe your router is set to disconnect idle devices, maybe there&#039;s an IP conflict with another device...<br />You won&#039;t be able to reconnect unless you shutdown the network (net_deinit + net_wc24cleanup) and reinitialize it.]]></description>
<dc:creator>tueidj</dc:creator>
<category>Coding</category><pubDate>Sat, 07 Nov 2015 02:03:40 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,74990,74992#msg-74992</guid>
<title>Re: net_socket() fails if left idle for 1 minute</title><link>http://forum.wiibrew.org/read.php?11,74990,74992#msg-74992</link><description><![CDATA[ What&#039;s causing it? I only get the error if I stop requesting new connections for a minute. And after it happens I can&#039;t reconnect. Only way I can reconnect Is by exiting my app.]]></description>
<dc:creator>owen</dc:creator>
<category>Coding</category><pubDate>Fri, 06 Nov 2015 21:37:44 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,74990,74991#msg-74991</guid>
<title>Re: net_socket() fails if left idle for 1 minute</title><link>http://forum.wiibrew.org/read.php?11,74990,74991#msg-74991</link><description><![CDATA[ That error is ENETRESET, it means the wifi connection dropped out and the network has to be shutdown then reinitialized.]]></description>
<dc:creator>tueidj</dc:creator>
<category>Coding</category><pubDate>Fri, 06 Nov 2015 21:12:00 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,74990,74990#msg-74990</guid>
<title>net_socket() fails if left idle for 1 minute</title><link>http://forum.wiibrew.org/read.php?11,74990,74990#msg-74990</link><description><![CDATA[ I can connect and load a webpage fine (for my leaderboards) but if I stop making connections for more than a minute and then try again I get a -126 result from s32 socket = net_socket(AF_INET, SOCK_STREAM, IPPROTO_IP);<br /><br />I am not sure if this only happens to me on my router or if that is how the wii networking operates. How do I keep it alive? I don&#039;t really need to be constantly loading the page but I&#039;d like it to always be available for submiting scores.]]></description>
<dc:creator>owen</dc:creator>
<category>Coding</category><pubDate>Fri, 06 Nov 2015 00:45:24 +0100</pubDate></item>
</channel>
</rss>