complete socket demo of topic_detail