Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WssSession is multithread?? #305

Open
vanhaodev opened this issue Jul 6, 2024 · 0 comments
Open

WssSession is multithread?? #305

vanhaodev opened this issue Jul 6, 2024 · 0 comments

Comments

@vanhaodev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant