The Netty Project 3.1 User GuideThe Proven Approachto Rapid NetworkApplication Development3.1.5.GA, r1772iiPreface .............................................................................................................................. iii1. The Problem ........................................................................................................... iii2. The Solution ........................................................................................................... iii1. Getting Started ............................................................................................................... 11.1. Before Getting Started ............................................................................................ 11.2. Writing a Discard Server ......................................................................................... 11.3. Looking into the Received Data ................................................................................ 31.4. Writing an Echo Server ........................................................................................... 41.5. Writing a Time Server ............................................................................................ 51.6. Writing a Time Client ............................................................................................. 71.7. Dealing w ith a Stream-based Transport ...................................................................... 81.7.1. One Small Caveat of Socket Buffer ................................................................. 81.7.2. The First Solution ........................................................................................ 91.7.3. The Second Solution ................................................................................... 111.8. Speaking in POJO instead of ChannelBuffer ...................................................