title: make server-client work unlimitedly
body: <p>How can I make the server and the client to run unlimitedly and be able to exchange data(meaning, until the application is closed), instead of run for one exchange of information only. 
  Tried with <code>while(true)</code> but maybe didn't put it on the right place and then I can't really reach the methods for closing and stopping the socket and the listener. 
  Here's some of the code of the server:</p>
  
  <pre><code>public static void StartServer()
          {
              try
              {
                  IPAddress ip = IPAddress.Parse("192.168.1.11");
                  TcpListener myListener = new TcpListener(ip, 8000);
  
                  myListener.Start();
  
                  Socket s = myListener.AcceptSocket();
  
                  byte[] b = new byte[100];
                  int k = s.Receive(b);
  
  ... some other actions ...
  
                  s.Close();
                  myListener.Stop();
              }
  </code></pre>
  
  <p>and then then <code>Main()</code> where I invoke it. 
  With the Client is the same story. </p>