按我的理解,service会发close包过来。sharedptr应该要把这个socket回收掉。client端如果想看看socket在不在,找下连接列表里有没有这个socket就完事儿了。