Hololens/Lib/UdpSockets.cs
//###########################################################################################
/// <summary>
/// Send a message to host.
/// </summary>
/// <param name="s"> message as string </param>
Send a message to host.
Send a message to host .
public void Send(string s)
        {
            var streamWriter = new StreamWriter(_outStream); 
            streamWriter.Write(s);
            streamWriter.Flush();
        }
public void Send ( string s ) { var streamWriter = new StreamWriter ( _outStream ) ; streamWriter . Write ( s ) ; streamWriter . Flush ( ) ; }
Send a message to host.
Send a message to host .
// allow to write string in the stream
s
string
message as string
message as string