Jan Korf
Jan Korf

Reputation: 68

Dotnet ClientWebSocket buffer size

The ClientWebSocketOptions class in dotnet provides options to the ClientWebSocket, and has a method SetBuffer to set the internal send/receive buffer size.

What is an appropriate value for this? Apparently the max value in .net framework for this is 64kb, while dotnet core and up has no upper limit. Is 64kb adequate? It seems fairly small, but I'm not sure. The documentation doesn't give any info on appropriate values.

Upvotes: 0

Views: 655

Answers (0)

Related Questions