init tcp_channel