discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Using file descriptor sink ?


From: Ruecan
Subject: Re: [Discuss-gnuradio] Using file descriptor sink ?
Date: Fri, 30 May 2014 10:46:35 -0700 (PDT)

I mean if I try this:

> self.blocks_socket_pdu_0_Rx = blocks.socket_pdu("UDP_CLIENT", "localhost",
> "4000", 10000) 
self.myFileDescriptor = blocks.file_descriptor_sink(2048,
open(self.blocks_socket_pdu_0_Rx, 'r+b'))

I got:
TypeError: coercing to Unicode: need string or buffer, socket_pdu_sptr found

I don't know how to get a file descriptor out of that to read it and
retrieve packets received.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Using-file-descriptor-sink-tp48640p48647.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]