예제 #1
0
 public async void Send(string clid, string msg)
 {
     if ((msg.Length > 0) && (Start()))
     {
         try
         {
             clid.ToList().ForEach(async id => await client.ClientPoke(msg, Convert.ToInt32(clid)));
         }
         catch (TaskCanceledException ex)
         {
             throw ex;
         }
         catch (Exception ex)
         {
             throw ex;
         }
         finally
         {
             Stop();
         }
     }
 }