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
WriteAsync
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?