Hello,
I have been connecting a game with a peer system using websockets. However, I now noticed that websockets is purely asynchronous, and at times the peer system needs to request data from the game -- and best if its synchronous request, so that the peer obtains the requested data immediately.
WebSockets doesn't support that -- i would need to code a synchronous "fetch" via coordinated asynchronous calls.
However, I then thought that a construct 3 game could in fact run a web server as well, and then a web request could be submitted?
Can this be done?
Is there another way to do this?