[ns] Anybody has source code / patch of GPSR (using HLS) for NS-2.33 ?

2010-11-27 Thread Shaikhul Chowdhury

Hello!
Anybody has GPSR code / patch for NS-2.33.
I tried this (
http://www.cn.uni-duesseldorf.de/staff/kiess/software/hls-ns2-patch) url go
get source but looks like its not a valid link.
anybody successfully GPSR in NS-2.33 ?

Thanks

-- 
*
Best Regards
Shaikhul Islam Chowdhury
Wireless and Mobile Communication Systems Lab
Chosun University [http://eng.chosun.ac.kr]
Republic of Korea
*


[ns] Bluetooth extension to ns-2?

2010-11-27 Thread John Adams

Hi,

>
Does anyone have a link to the Bluetooth extension for ns-2? Anything that
works with v2.34?

>
Thanks,
John


Re: [ns] memory leak because of payload allocation

2010-11-27 Thread avinash chaurasia

thanks, i will try that. But still i need to clarify one thing
Is it wrong to allocate PacketData in UDP layer using following command
*PacketData *pd=new PacketData(1000);
packet->setdata(pd);*

if it is wrong then how user send his own data from sender side to receiver
side. I searched alot but didn't get much on this. Thanks in advance.

Thanks
Avinash Kumar Chaurasia
Department of Computer Science
IIT Kanpur, India


On Fri, Nov 26, 2010 at 9:49 PM, Sidney Doria  wrote:

> Get out of trouble. Use Valgrind.
>
> Sidney Doria
> UFCG / BRAZIL
>
> 2010/11/26 avinash chaurasia :
> >
> > hello all,
> > I have written following lines of code in UDP to transfer mien data over
> > network, but when i run script it eats up all my 3gb memory and 5gb swap
> too
> > with actual data of size around 16 mb.
> >
> > code in udp layer:
> > *p->allocdata(len);*
> > * **((PacketData*)(p->userdata()))->setData(readbuf);*
> >
> > Can anyone help me out, whats wrong with this approach.
> >
> > at the receiver side i am calling *free(p);*
> > *
> > *
> >
> >
> > Thanks
> > Avinash Kumar Chaurasia
> > Department of Computer Science
> > IIT Kanpur, India
> > Thanks
> > Avinash Kumar Chaurasia
> > Department of Computer Science
> > IIT Kanpur, India
> >
>
>
>
> --
> Sidney Doria
> Redes ad hoc móveis
> Doutorado em Computação
> UFCG
> Brasil
>
> "Nessa jornada, o conhecimento será o seu escudo..."
> (Mestre dos Magos no episódio do grimoire de ouro)
>


Re: [ns] memory leak because of payload allocation

2010-11-27 Thread Sidney Doria

Get out of trouble. Use Valgrind.

Sidney Doria
UFCG / BRAZIL

2010/11/26 avinash chaurasia :
>
> hello all,
> I have written following lines of code in UDP to transfer mien data over
> network, but when i run script it eats up all my 3gb memory and 5gb swap too
> with actual data of size around 16 mb.
>
> code in udp layer:
> *p->allocdata(len);*
> * **((PacketData*)(p->userdata()))->setData(readbuf);*
>
> Can anyone help me out, whats wrong with this approach.
>
> at the receiver side i am calling *free(p);*
> *
> *
>
>
> Thanks
> Avinash Kumar Chaurasia
> Department of Computer Science
> IIT Kanpur, India
> Thanks
> Avinash Kumar Chaurasia
> Department of Computer Science
> IIT Kanpur, India
>



-- 
Sidney Doria
Redes ad hoc móveis
Doutorado em Computação
UFCG
Brasil

"Nessa jornada, o conhecimento será o seu escudo..."
(Mestre dos Magos no episódio do grimoire de ouro)