Huntley
Huntley
same error…… waiting……
After set ReuseAddress=True, I can reconnect or multi-connect the server. Maybe you need provide more info. Which way are you using to add service? 1. public void AddWebSocketService(string path, Action...
@SoylentGraham @daef , hi, sorry to disturb, I still cannot get this right, `System.Action SetupService = (Connection) => { Connection.SetupThis(this); }; Socket.AddWebSocketService("/", SetupService);` is ClientConnection the class name inherit from...
oh, I managed to figure out the solution: this._server = new WebSocketServer(port); this._server.ReuseAddress = true; //this._server.AddWebSocketService("/"); Action SetupService = this.AddBehaviorHandler; this._server.AddWebSocketService("/", SetupService); private void AddBehaviorHandler(MyWsBehavior wsBehavior) { wsBehavior.onCloseHandler += this.onConnectionClosed;...