Esempio n. 1
0
 public bool Send(IoBuffer output)
 {
     try
     {
         output.Flip();
         var buffer = output.GetRemainingArray();
         Client.Client.Send(buffer);
     }
     catch (Exception) { return false; }
     if (handler != null)
         return handler.Await();
     return true;
 }