Hi! I really like the idea behind a Web UI but I'm wondering how some pieces of it work--
What happens if a user closes their browser during a game? Assuming nothing, if both a host/client close their browser, will their computers remained connected indefinitely?
Do you force the browser to reopen when it is detected that the webui is no longer speaking with the daemon?
I'm just having a hard time thinking about what is a good way to handle disconnection of a daemon with a web ui for a project I'm working on and was curious how the team here handled it.
SgtLegend TX Server Nerd
Joined: 27 Nov 2007
Posts: 5261
Location: Melbourne, AU
Posted:
Fri Jul 16, 2010 6:47 am
With the webUI because its web browser based there's no way to tell the engine when the browser is closed to shut it down so no it won't do anything to effect your game play
CrunchBite Team XLink Developer
Joined: 28 Nov 2007
Posts: 2338
Posted:
Fri Jul 16, 2010 11:54 am
If you want to have the engine shut down then a UI disconnects, it is easier to use the UDP protocol the old UI uses, just sniff the traffic between it an the engine (port 34522 i believe)
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum