chronoxor / NetCoreServer

Ultra fast and low latency asynchronous socket server & client C# .NET Core library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
https://chronoxor.github.io/NetCoreServer
MIT License
2.63k stars 550 forks source link

WssSession is multithread?? #305

Open vanhaodev opened 2 months ago

vanhaodev commented 2 months ago

Thread per WssSession or all WssSession using the same thread? I intend use Queue to save buffer per Session for async handle packet but I dont know WssSession use one thread for all session or thread per session. 

internal partial class PlayerSession : WssSession
public override void OnWsReceived(byte[] buffer, long offset, long size)

Thanks and have a good day.