Warning 1 The field 'WindowsFormsApp.Form1.serverStream' is never used
<p>I'm new in c# programming...I tried to make a single server/multiple client but I have this error and I don't know how to solve it. If anyone knows, please help. Here is the code:</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApplication1 {
  class Program {
    static void Main(string[] args) {
      TcpListener serverSocket = new TcpListener(1000);
      TcpClient clientSocket = default (TcpClient);
      int counter = 0;
      serverSocket.Start();
      Console.WriteLine(" &gt;&gt; " + "Server Started");
      counter = 0;
      while (true) {
        counter += 1;
        clientSocket = serverSocket.AcceptTcpClient();
        Console.WriteLine(" &gt;&gt; " + "Client No:" + Convert.ToString(counter) + " started!");
        handleClinet client = new handleClinet();
        client.startClient(clientSocket, Convert.ToString(counter));
      }
      clientSocket.Close();
      serverSocket.Stop();
      Console.WriteLine(" &gt;&gt; " + "exit");
      Console.ReadLine();
    }
  }
  public class handleClinet {
    TcpClient clientSocket;
    string clNo;
    public void startClient(TcpClient inClientSocket, string clineNo) {
      this.clientSocket = inClientSocket;
      this.clNo = clineNo;
      Thread ctThread = new Thread(doChat);
      ctThread.Start();
    }
    private void doChat() {
      int requestCount = 0;
      byte[] bytesFrom = new byte[10025];
      string dataFromClient = null;
      Byte[] sendBytes = null;
      string serverResponse = null;
      string rCount = null;
      requestCount = 0;
      while ((true)) {
        try {
          requestCount = requestCount + 1;
          NetworkStream networkStream = clientSocket.GetStream();
          networkStream.Read(bytesFrom, 0, (int) clientSocket.ReceiveBufferSize);
          dataFromClient = System.Text.Encoding.ASCII.GetString(bytesFrom);
          dataFromClient = dataFromClient.Substring(0, dataFromClient.IndexOf("$"));
          Console.WriteLine(" &gt;&gt; " + "From client-" + clNo + dataFromClient);
          rCount = Convert.ToString(requestCount);
          serverResponse = "Server to clinet(" + clNo + ") " + rCount;
          sendBytes = Encoding.ASCII.GetBytes(serverResponse);
          networkStream.Write(sendBytes, 0, sendBytes.Length);
          networkStream.Flush();
          Console.WriteLine(" &gt;&gt; " + serverResponse);
        } catch (Exception ex) {
          Console.WriteLine(" &gt;&gt; " + ex.ToString());
        }
      }
    }
  }
}
</code></pre>

<p>The error is at this line:    </p>

<pre><code>networkStream.Read(bytesFrom, 0, (int)clientSocket.ReceiveBufferSize);
</code></pre>

<p>Thank you very much:D</p>
