support duplex cosocket