Introduction - If you have any usage issues, please Google them yourself
Use mina3.0 with spring integration to achieve a server-side example (socket tcp). mina is a highly efficient communication framework based on java NIO. Works for myeclipse java project, can be directly imported. Use the main method to start. Client since written test.