Пример #1
0
 public void sendData(CMD_MINERO comando, byte[] data)
 {
     if (clientSock.Connected)
     {
         byte[] cmd = new byte[1];
         cmd[0] = (byte)comando;
         clientSock.Send(cmd);
         clientSock.Send(data);
     }
 }
Пример #2
0
 public MineroEventArgs(CMD_MINERO cmd, byte[] datos, int dataLenght)
 {
     comando = cmd;
     data = datos;
     dataL = dataLenght;
 }