title: Multiple clients using Netty
body: <p>Iam starting with Netty and I've tried the <a href="https://github.com/netty/netty/tree/3/src/main/java/org/jboss/netty/example/echo" rel="nofollow">echo example</a></p>
  
  <p>I would like to simulate lots of clients connected to a server instead of just one like on the example.</p>
  
  <p>I can see on the EchoClient code that the client is initiated by</p>
  
  <pre><code>new EchoClient(host, port, firstMessageSize).run();
  </code></pre>
  
  <p>As a very first attempt I tried to put that inside a for loop that iterates 1000 times</p>
  
  <pre><code>for (int i=0;i&lt;1000;i++){
          new EchoClient(host, port, firstMessageSize).run();
  }
  </code></pre>
  
  <p>But this isn't working.</p>
  
  <p>How can I do in order to create many client connections?</p>
  
  <p>I would like to simulate many connections to an already done tcp server.</p>