http://www.cnblogs.com/nsnow/archive/2011/05/03/2036017.html
http://blog.chinaunix.net/uid-2630593-id-2138548.html
http://wenku.baidu.com/view/5e7e3afff705cc17552709aa.html
http://www.cppblog.com/niewenlong/archive/2007/08/17/30224.html 完成端口
http://blog.csdn.net/neicole/article/details/7549497