TCP Sink blks2_tcp_sink from grc_gnuradio import blks2 as grc_blks2 grc_blks2.tcp_sink( itemsize=$type.size*$vlen, addr=$addr, port=$port, server=$server, ) Input Type type enum Address addr 127.0.0.1 string Port port 0 int Mode server False enum Vec Length vlen 1 int $vlen > 0 in $type $vlen In client mode, we attempt to connect to a server at the given address and port. \ In server mode, we bind a socket to the given address and port and accept the first client.