• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 8 9 10 11 12 ... 116 Next »

IOS_NET SO Emulation Inaccurate?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
IOS_NET SO Emulation Inaccurate?
05-17-2020, 03:29 AM
#1
unzipped Away
Junior Member
**
Posts: 5
Threads: 2
Joined: Aug 2019
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?
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode