gr_socket - an abstraction of gr file source/sinks into a tcp socket connection

Questions, comments: j c o o l e y (at) m e d i a (dot) m i t (dot) e d u
<-- back

Gnuradio software has a provision for saving and retrieving sample data, fft data (and any data, for that matter, along the gnuradio dsp pipeline) to files. This can be extended to tcp sockets fairly easily. This small library and examples show how to do this over a TCP connection. Note that it's critical to keep the file descriptor in scope when the gnuradio run pipeline takes over, which is why I return it to the main level in the examples.

The data here is not compressed, so needs a fairly hefty network connection. The next experiment, gr_compression, shows a possible way to compress the data stream.