Exemple #1
0
        protected void Received(byte[] audioData, UDPServerNode node)
        {
            foreach (var serverNode in connected)
            {
                if (node == serverNode)
                {
                    continue;
                }

                serverNode.Send(audioData);
            }
        }
Exemple #2
0
 protected void OnConnectionClosed(UDPServerNode node)
 {
     connected.Remove(node);
 }