On Wed, Apr 06, 2005 at 11:28:18AM -0400, James Cooley wrote:
> I had a similar thing I was using sockets, but then got it to work.
>
> Are you sure the fd is staying in scope for the duration of the run?
>
> -jamie
>
Chuck,
Jamie has it right. Most likely the pipf_fd was going out of sco
On Wed, 6 Apr 2005, cswiger wrote:
> Trying
>
> pipe_fd = open("/pipe","r")
> gr.file_descriptor_source(gr.sizeof_char,pipe_fd.fileno())
>
> starts out but as soon as I start the source to fill the pipe
> I get:
>
> file_descriptor_source[read]: Bad file descriptor
>
Ok, turns out you have
I had a similar thing I was using sockets, but then got it to work.
Are you sure the fd is staying in scope for the duration of the run?
-jamie
cswiger wrote:
Trying
pipe_fd = open("/pipe","r")
gr.file_descriptor_source(gr.sizeof_char,pipe_fd.fileno())
starts out but as soon as I start the s