Page 1 of 1

Networking example (sockettest) not working

Posted: Tue Dec 27, 2016 9:46 pm
by random
Hi there !
I'm really new to homebrew and was then trying some of the examples.
So I tried the network example sockettest, it compiled well so I put the dol on a SD card and loaded it with swiss.
It loaded successfully but froze on "configuring network...". I'm sure my BBA is working because I already tried loading homebrew using the PSO exploit and I'm able to connect to the swiss HTML page (at least with version r377).
Is that a bug in the example, libogc or am I just too stupid to do things correctly ? :oops:

Thank you very much in advance for any answer.

Re: Networking example (sockettest) not working

Posted: Thu Dec 29, 2016 2:36 pm
by random
Actually, it works when supplying ip configuration, only DHCP doesn't work.
Any ideas ?

Re: Networking example (sockettest) not working

Posted: Thu Jan 05, 2017 3:43 pm
by WinterMute
Sorry to take so long replying - had to dig out my cube & bba to test things.

After rebuilding libogc with -O2 instead of -Os the DHCP definitely works now. Bear in mind that it does take a bit of time to obtain an IP address - it's about 10 seconds or so for me (which feels a lot longer)

Re: Networking example (sockettest) not working

Posted: Sun Jan 08, 2017 7:06 pm
by random
Thank you very much sir!