Hololens/Lib/UdpSockets.cs
//###########################################################################################
/// <summary>
/// Extract from message a command and optional parameters. Calculate the number of arguments
/// </summary>
Extract from message a command and optional parameters. Calculate the number of arguments
Extract from message a command and optional parameters . Calculate the number of arguments
protected virtual void Parse()
        {
            var message = _message.Split(';');
            _cmd = message[0];
            _args = new string[message.Length-1];
            Array.Copy(message, 1, _args, 0, _args.Length);
        }
protected virtual void Parse ( ) { var message = _message . Split ( ' ' ) ; _cmd = message [ 0 ] ; _args = new string [ message . Length - 1 ] ; Array . Copy ( message , 1 , _args , 0 , _args . Length ) ; }
Extract from message a command and optional parameters.
Extract from message a command and optional parameters .
// command is the first argument // other arguments are copied to dedied array