private static Command ReceivePacket(UdpClient udpServer, IPEndPoint remoteEp)
 {
     try
     {
         var received = udpServer.Receive(ref remoteEp);
         var command  = CommandsParser.ParseCommand(received);
         return(command);
     }
     catch (SocketException)
     {
         return(new NoResponseCommand()
         {
             CommandType = BlockchainCommands.NO_RESPONSE
         });
     }
 }
        public static State ProcessReceiveRequest(State state, byte[] messageBytes, NodeDetails node)
        {
            var command = CommandsParser.ParseCommand(messageBytes);

            return(ProcessReceiveRequest(state, command, node));
        }