Maybe use zeromq rather than UDP?  Or if it is running locally, why not 
just write to a file descriptor that Julia can read from?

Why do you need to do the reading in C, as opposed to just using another 
Julia process?

On Friday, February 7, 2014 5:01:41 PM UTC-5, Elliot Saba wrote:
>
> I'm writing a librtlsdr wrapper for recording off of a 
> software-defined-radio USB dongle right now, and I want to have a 
> background thread (or analogue) for recording data from the dongle.  What's 
> the best way to do that in Julia?
>
> Right now, I'm considering just creating a small C program to do the 
> reading for me, and dumping the data into Julia using UDP sockets or 
> something.  (Thanks Keno for the recent UDP work. :) ) This would also 
> simplify my eventual aim to support multiple USB dongles at once, I think.
>
> Any other ideas on how to do this properly?  Thanks!
> -E
>

Reply via email to