Hololens/Lib/UdpSockets.cs
//###########################################################################################
/// <summary>
/// Overrided method that specify action to do depending on message
/// </summary>
Overrided method that specify action to do depending on message
Overrided method that specify action to do depending on message
protected override void Reply()
        {
            if (_message == 255)
            {
                PrepareData();
                _current_packet = 0;
            }
            else if (_message == 254)
            {
                SendPacket();
                _current_packet += 1;
            }
            else if (_message == 1)
            {
                Close();
            }
        }
protected override void Reply ( ) { if ( _message == 255 ) { PrepareData ( ) ; _current_packet = 0 ; } else if ( _message == 254 ) { SendPacket ( ) ; _current_packet += 1 ; } else if ( _message == 1 ) { Close ( ) ; } }
Overrided method that specify action to do depending on message
Overrided method that specify action to do depending on message
// new data // send next packet // close socket