Sorry, I missed a line.

you should have a "data = file.read(pkt_size)" inside the while loop as
well.



On Mon, Apr 1, 2013 at 7:53 AM, Manu T S <[email protected]> wrote:

> I suppose you can do something similar to this
>
> n = 0
> data = file.read(pkt_size)
> while data != "":
>     make payload
>     send payload
>     n += 1
>
> print n
>
>
> On Fri, Mar 29, 2013 at 11:29 PM, manjusha <[email protected]>wrote:
>
>> is there no way to do it??!!any other ideas on how can it be implemented?!
>>
>>
>>
>> -----
>> Manjusha
>> --
>> View this message in context:
>> http://gnuradio.4.n7.nabble.com/pktno-tp40416p40426.html
>> Sent from the GnuRadio mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
>
> --
> Manu T S
>



-- 
Manu T S
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to