define my tcp_protocol