Esempio n. 1
0
 private bool send<outputParameterType>(TcpSimpleServer.OutputInfo outputInfo, ref outputParameterType outputParameter, ref bool isSend)
     where outputParameterType : struct
 {
     Socket socket = Socket;
     if (socket != null)
     {
         try
         {
             BuildOutput(outputInfo, ref outputParameter);
             isSend = OutputBuffer.Send(Socket);
         }
         finally { OutputBuffer.Free(); }
         return isSend && (IsVerifyMethod ? isReceiveCommand() : (--verifyMethodCount != 0 && isReceiveVerifyCommand()));
     }
     return false;
 }