Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

NetworkClient manage connection

$
0
0
Hi,

I would like your advice about this :

At the start of my game, I create a new NetworkClient and connect it to my master server.
I'm sending messages only when the player is at start menu and clicks "Play".
I never close the connection to master, or maybe when player quits the game.

Is that connection consuming bandwith/cpu when not sending messages ?
Should I open it and close it only when client clicks "Play" ?


EDIT
I found the Profiler window, it shows ~10 messages while...

NetworkClient manage connection

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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