Hello,
I modified a devkitPPC example to illustrate the issue I'm having.
This program runs a socket on port 8080 while displaying "Hello" on the screen every second, and uses SO_POLL to make the HTTP server thread pause until a client is available.
Well, at least I got someone to confirm this is how it behaves on a real wii.
On Dolphin, though, SO_POLL completely pauses the emulation until a connection is made, so "Hello" will be printed once and the emulation thread will hang until a connection is made.
This is because the Socket Device (NetIPTop in IOS HLE) is completely synchronous.
Is there any plan to make NetIPTop asynchronous? Was there some kind of technical limitation that prevented it to be done this way right from the start?
Or am I just plain wrong?
I modified a devkitPPC example to illustrate the issue I'm having.
This program runs a socket on port 8080 while displaying "Hello" on the screen every second, and uses SO_POLL to make the HTTP server thread pause until a client is available.
Well, at least I got someone to confirm this is how it behaves on a real wii.
On Dolphin, though, SO_POLL completely pauses the emulation until a connection is made, so "Hello" will be printed once and the emulation thread will hang until a connection is made.
This is because the Socket Device (NetIPTop in IOS HLE) is completely synchronous.
Is there any plan to make NetIPTop asynchronous? Was there some kind of technical limitation that prevented it to be done this way right from the start?
Or am I just plain wrong?