title: How can i solve the warning about TcpListener: Please use TcpListener(IPAddress localaddr, int port) instead?
body: <p>I created a new form and at the top i did:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.Threading;
  using System.Collections;
  using System.Net.Sockets;
  
  namespace mws
  {
      public partial class Chat : Form
      {
          TcpListener serverSocket = new TcpListener(8888);
  </code></pre>
  
  <p>Under new TcpListener(8888) i see green line and the warning is:</p>
  
  <p>Warning 4   'System.Net.Sockets.TcpListener.TcpListener(int)' is obsolete: '"This method has been deprecated. Please use TcpListener(IPAddress localaddr, int port) instead.</p>
  
  <p>Tried to google but i didn't find any solution.
  Tried to do: new TcpListener(8888,21) maybe usig a port but this is a not a solution.</p>