Quantcast
Channel: Questions in topic: "webrequest"
Viewing all articles
Browse latest Browse all 387

Establish a constant connection to a web server

$
0
0
I'm trying to create a connection between a unity game and an web server. Essentially there's 3 parts to the project I'm working on, the main game, a mobile app, and the web server. The Mobile app is able to send a request to the web server and update a value, which is stored in a database. I then need some way for the web server to tell the main game what has happened. Currently I'm having the main game send a web request to the server as well, and then reading the response, but I feel like there's a better way to go about this. Is there any way for the main game to send a single request to the web server, which will establish a connection where the server can respond whenever the mobile app has sent a request.

Viewing all articles
Browse latest Browse all 387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>