http://blog.csdn.net/leechyu89/article/details/7305673
[gen_recv] http://blog.yufeng.info/archives/2679