You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading and writing to network connections (using NetworkStream) we often want to use async as it scales a lot better than having one thread for every client.
Assuming we'd want to read directly from a NetworkStream class using NetSerializer it would be essential to have async versions of Deserialize / Serialize (which internally use the ReadAsync and WriteAsync methods of the given stream).
Is that planned? If not, could you give me a rough outline what the best way to add it would be? (like what to keep in mind) @tomba
The text was updated successfully, but these errors were encountered:
I don't exactly know what it would need, but I have a hunch that it would slow down NetSerializer quite a lot. But feel free to try and prove me wrong =).
When reading and writing to network connections (using NetworkStream) we often want to use async as it scales a lot better than having one thread for every client.
Assuming we'd want to read directly from a NetworkStream class using NetSerializer it would be essential to have async versions of Deserialize / Serialize (which internally use the ReadAsync and WriteAsync methods of the given stream).
Is that planned? If not, could you give me a rough outline what the best way to add it would be? (like what to keep in mind) @tomba
The text was updated successfully, but these errors were encountered: