WriteAsync doesn't always send data to all connected clients
I am making an application that has a TCP client that listens for messages from a TCP server, then puts those messages in a queue, then sends all of the queued messages to the connected TCP clients of the server started. The application is working, but sometimes
https://hastebin.com/fejosepufi.csharp
Thanks
WriteAsync doesn't send the same amount of messages to all clients. Any ideas of what the issues is, and also what can I improve on in this code?https://hastebin.com/fejosepufi.csharp
Thanks
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.