title: Only one usage of each socket address (protocol/network address/port) is normally permitted in c#
body: <p>I am trying to connect to a sensor using network, the sensor's ip is 192.168.2.44 on port 3000;</p>
  
  <pre><code>  try
          {
  
              byte[] byteReadStream = null; // holds the data in byte buffer
              IPEndPoint ipe = new IPEndPoint(IPAddress.Any,
                                              3000); //listen on all local addresses and 8888 port
              TcpListener tcpl = new TcpListener(ipe);
              while (true)
              {
                  //infinite loop
                  tcpl.Start(); // block application until data and connection
                  TcpClient tcpc = tcpl.AcceptTcpClient();
                  byteReadStream = new byte[tcpc.Available]; //allocate space
  
                  tcpc.GetStream().Read(byteReadStream, 7000, tcpc.Available);
  
                  Console.WriteLine(Encoding.Default.GetString(byteReadStream)
                                    + "\n")
                      ;
              }
          }
          catch (Exception e)
          {
              Console.WriteLine(e.ToString());
              Console.ReadLine();
          }
  </code></pre>
  
  <p>i got this error:</p>
  
  <pre><code>Only one usage of each socket address (protocol/network address/port) is normally permitted 
  </code></pre>
  
  <p>I am so new in socket</p>