Dear All,<br>Did any one have implement Timeout, could you share to me, because i have failed to implement.<br>IdleStateEvent never  raised in function handleUpstream; <br>Sample of my code :<br>Server Side<br><a href="http://log.info">log.info</a>(&quot;Start listening on &quot; + ip + &quot;:&quot; + port);<br>
           ChannelFactory factory =<br>                new NioServerSocketChannelFactory(<br>                        Executors.newCachedThreadPool(),<br>                        Executors.newCachedThreadPool());<br><br>            ServerBootstrap bootstrap = new ServerBootstrap(factory);<br>
<br>            bootstrap.setPipelineFactory(new ConnPipelineFactory(this));<br>            bootstrap.setOption(&quot;child.tcpNoDelay&quot;, true);<br>            bootstrap.setOption(&quot;child.keepAlive&quot;, true);<br>
            bootstrap.setOption(&quot;child.reuseAddress&quot;, true);<br>            bootstrap.setOption(&quot;child.connectTimeoutMillis&quot;, 10000);<br><br>            // Bind and start to accept incoming connections.<br>
            InetAddress inet = InetAddress.getByName(ip);                    <br>            bootstrap.bind(new InetSocketAddress(inet,port));          <br>            <a href="http://log.info">log.info</a>(&quot;Finish listening on &quot; + ip + &quot;:&quot; + port);<br>
<br><br>Client Side :<br>ChannelFactory factory = new NioClientSocketChannelFactory(<br>                  Executors.newCachedThreadPool(), Executors.newCachedThreadPool());<br>ClientBootstrap bootstrap = new ClientBootstrap(factory);        <br>
        bootstrap.setPipelineFactory(new ConnPipelineFactory(this));        <br>        bootstrap.setOption(&quot;tcpNoDelay&quot;, true);<br>        bootstrap.setOption(&quot;keepAlive&quot;, true);   <br>        bootstrap.setOption(&quot;reuseAddress&quot;, true);<br>
        bootstrap.setOption(&quot;connectTimeoutMillis&quot;, 1000);<br><br>Trims <br><br>Reza Ginting<br>