socket channel coder