Gr.udp_source data format

From the examples ive seen in hier/networking the data coming from the UDP
source seems to be float , is this true? Or is the data format optional
?

Can I receive UDP from 2 different ports simultaneously ?

thanks in advance
ziad


View this message in context:
http://www.nabble.com/gr.udp_source-data-format-tf3972816.html#a11276838
Sent from the GnuRadio mailing list archive at Nabble.com.

bellzii wrote:

From the examples ive seen in hier/networking the data coming from the UDP
source seems to be float , is this true? Or is the data format optional ?

Data format is optional using the itemsize value as the first argument
(e.g., gr.sizeof_gr_complex).

Can I receive UDP from 2 different ports simultaneously ?

thanks in advance
ziad
I’ve never tried it, but I don’t see why not. You’ll have to make two
udp_source blocks with different port numbers given as arguments.

Tom