Hi there.
When designing a game where the server is inside the game itself (no centralized server running somewhere else), where one of the players is the host, and the others join the game…
Do you treat the host differently with regards to network code? Do you build custom written code for the game host, or do you treat the host like any other player? I mean, if I treat it like any other player, I will be taxing the network code more than I need to, however it’s obviously the easiar way to go. Since the host player will be able to talk to the server directly, custom code could make things more efficient, but by how much? Is it worth it? Does anyone have any experience as to what normally works out for the better?