title: TCP IP Client to read data from IP err: The requested address is not valid in its context
body: <p>I've a simple code to read data from IP but Listener.Start is throwing this error:
  The requested address is not valid in its context
  Where as I can connect using Telnet. Any help will be greatly appreciated.</p>
  <pre><code>         Int32 port = 2112;
          IPAddress localAddr = IPAddress.Parse(&quot;10.3.6.20&quot;);
  
          try
          {
              var listener = new TcpListener(localAddr, port);
              listener.Start();
              Byte[] bytes;
              while (true)
              {
                  TcpClient client = listener.AcceptTcpClient();
                  NetworkStream ns = client.GetStream();
                  if (client.ReceiveBufferSize &gt; 0)
                  {
                      bytes = new byte[client.ReceiveBufferSize];
                      ns.Read(bytes, 0, client.ReceiveBufferSize);
                      string msg = Encoding.ASCII.GetString(bytes); //the message incoming
                  }
              }
          }
          catch (Exception e)
          {
              //e
          }
  </code></pre>