Code example for InetSocketAddress

0
 
			// Set up the event pipeline factory. 
			_bootstrap.setPipelineFactory(new HttpServerPipelineFactory());
 
			// Bind and start to accept incoming connections. 
			_bootstrap.bind(new InetSocketAddress(_port));
		} 
 
		void shutdown() 
		{ 
			if(_bootstrap != null)
			{ 
				_bootstrap.releaseExternalResources();
			} 
		} 
 
		class HttpServerPipelineFactory implements ChannelPipelineFactory 
		{ 
			@Override 
      public ChannelPipeline getPipeline() throws Exception 
			{