Пример #1
0
        public void NotifyClients(ResponseRequest message)
        {
            var buffer = message.ToByteArray();

            foreach (var client in this.clients.Where(x => x.WriteStream.CanWrite))
            {
                this.Send(client, buffer);
            }
        }
Пример #2
0
 public void NotifyClient(ITcpSocketClient client, ResponseRequest message)
 {
     this.Send(client, message.ToByteArray());
 }