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

Using NetworkServerSimple with NetworkServer and AddExternalConnection

$
0
0
Hi Everyone
So my situation is like this, the project should be usable both on mobile and WebGL at the same time so on the server my NetworkServer listens for UDP connections and I add a NetworkServerSimple with useWebSockets = true to listen for WebSocket TCP connections, then Whenever someone connects to the WebSocket the NetworkServerSimple just adds it as an external connection to NetworkServer and when disconnects happen it calls NetworkServer.RemoveExternalConnection. Also on every...

Using NetworkServerSimple with NetworkServer and AddExternalConnection

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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