Created
November 2, 2021 21:06
-
-
Save bjoerntx/f5b14b1dfaa7ab5fa3c37779964d93fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// server id from query string (provided in view code) | |
int serverId = int.Parse(context.Request.Query["server"]); | |
// create a new WebSocketHandler with random server | |
var ws = new WebSocketHandler( | |
new IPAddress(DefaultServiceAddress[serverId]), | |
m_servicePort); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment