Beispiel #1
0
 public async Task SendAsync(IArtNetPackage package)
 {
     var bytes = package.GetBytes();
     foreach (var host in hosts)
     {
         Console.WriteLine("ArtNet: sending package to host {0}", host);
         await client.SendAsync(bytes, bytes.Length, host, port);
     }
 }
Beispiel #2
0
        public async Task SendAsync(IArtNetPackage package)
        {
            var bytes = package.GetBytes();

            foreach (var host in hosts)
            {
                Console.WriteLine("ArtNet: sending package to host {0}", host);
                await client.SendAsync(bytes, bytes.Length, host, port);
            }
        }