I want to configure the "maxCommandLength" attribute, but I cannot find the configuration file or instructions on how to create it. How can I change ReceiveBufferSize for websocket in code?
Asked
Active
Viewed 256 times
1
-
http://docs.supersocket.net/v1-6/en-US/Start-SuperSocket-by-Configuration – Robert Harvey Dec 01 '18 at 20:33
1 Answers
1
Use this to change the ReceiveBufferSize:
WebSocketServer webServer = new WebSocketServer();
ServerConfig config = new ServerConfig { ReceiveBufferSize = YourWishedSize };
webServer.Setup(config);

Boeckle
- 13
- 7