几篇不错的博客
http://blog.csdn.net/daheiantian/article/details/6243993
http://blog.csdn.net/zjuylok/article/details/4152864
http://www.lkn.ei.tum.de/arbeiten/faq/man/JAVA-tutorial/native1.1/implementing/method.html
http://www.iteye.com/problems/55207
http://mindprod.com/jgloss/socket.html#DISCONNECT
http://www.cnblogs.com/luvi/archive/2008/10/10/1307843.html
http://blog.csdn.net/GEOLO/archive/2011/04/22/6340684.aspx
http://www.shiningboys.cn/293.html