Hi All,<br><br>I have created a ServerSocketChannelFactory as follows:<br><br>factory = new NioServerSocketChannelFactory(Executors.newCachedThreadPool(),Executors.newCachedThreadPool(),numHandlerThreads);<br>bootstrap = new ServerBootstrap(factory);<br>
bootstrap.bind(new InetSocketAddress(PORT));<br><br>My question is, how do I unbind the port when shutting down my server.<br><br>Thanks in advance!<br><br>Virat<br>