Hololens/Lib/UdpSockets.cs
//###########################################################################################
/// <summary>
/// Overrided method that read message as a string.
/// </summary>
/// <param name="args"> message informations </param>
Overrided method that read message as a string.
Overrided method that read message as a string .
protected override void ReadMessage(DatagramSocketMessageReceivedEventArgs args)
        {
            using (DataReader dataReader = args.GetDataReader())
            {
                _message = dataReader.ReadString(dataReader.UnconsumedBufferLength).Trim();
            }
        }
protected override void ReadMessage ( DatagramSocketMessageReceivedEventArgs args ) { using ( DataReader dataReader = args . GetDataReader ( ) ) { _message = dataReader . ReadString ( dataReader . UnconsumedBufferLength ) . Trim ( ) ; } }
Overrided method that read message as a string.
Overrided method that read message as a string .
args
DatagramSocketMessageReceivedEventArgs
None