title: Simple TCPClient/Listener ("hello world") example
body: <p>All I'm looking for is a simple TCPClient/Listener ("hello world") example. I'm a newbie and Microsoft TCPClient/Listener class examples are not what I am looking for. All I am looking is for the TCPClient to send a message "Hello world" and  for a TCPListener to get the message and to send a message back "I got your hello world message"?</p>
  
  <p>A little help would be great. All I have is the TCPClient sending out "Hello World". Would this work? </p>
  
  <pre><code>Dim port As Int32 = 13000
          Dim client As New TcpClient("192.168.0.XXX", port)
          ' Translate the passed message into ASCII and store it as a Byte array. 
          Dim data As [Byte]() = System.Text.Encoding.ASCII.GetBytes("Hello World")
  
      ' Get a client stream for reading and writing. 
      '  Stream stream = client.GetStream(); 
      Dim stream As NetworkStream = client.GetStream()
  
      ' Send the message to the connected TcpServer. 
      stream.Write(data, 0, data.Length)
  </code></pre>