[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RE: [ns] How to run emulation programs in NS-2?
Dear all,
In FTP, I want to change the rate of the sender by
doing:
$ftp0 set packetSize_ $pksize
$ftp0 set rate_ 10k
But whatever value I set to ftp0, there is no sign
that the sending rate will change accordingly. Even I
set the rate to 0, there also exist congestion. Who
can tell me how to change the sending rate?
Thanks for your help.
By the way, I use ftp on TCP Tahoe.
Micheal
--- mmrenyu <[email protected]> wrote:
> ----- Original Message -----
> From:"Schramp, R." <[email protected]>
> To:"'mmrenyu'" <[email protected]>, [email protected]
> Subject:RE: [ns] How to run emulation programs in
> NS-2?
> Date:Fri, 14 Sep 2001 01:03:26 +0800
> >Hello,
> >
> >To run you should at least compile the nse
> >
> >download the latest version of ns and type "make
> nse" to compile it.
> >
> >For me nse did not work on Linux 7.1 out of the
> box. I have patched the
> >emulation parts for linux.
> >
> >This patch is downloadable from the ns-user
> mailing list. As I have only
> >recently submited this patch, it is probably not
> in the snapshots.
> >
> >Could you please verify that the patched simulator
> works on your system?
> >this will probably help in support for linux in
> nse.
> >
> >Best regards,
> >
> >Ruud Schramp
> >
> Hi,
> The NS installed in my machine is
> ns-allinone-2.1b8a under Linux 7.1. When I executed
> "make nse", the following errors appeared:
> [root@localhost ns-2.1b8a]# make nse
> c++ -c -O2 -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR
> -DTCLCL_CLASSINSTVAR
> -DNDEBUG -DHAVE_STL -DUSE_SHM -DHAVE_LIBTCLCL
> -DHAVE_TCLCL_H
> -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H -DHAVE_LIBTK8_3
> -DHAVE_TK_H
> -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DHAVE_CONFIG_H -I.
> -I/root/hyp/nsb8a/tclcl-1.0b11
> -I/root/hyp/nsb8a/otcl-1.0a7
> -I/root/hyp/nsb8a/include -I/root/hyp/nsb8a/include
> -o emulate/net-pcap.o
> emulate/net-pcap.cc
> emulate/net-pcap.cc:60:18: pcap.h: No such file or
> directory
> make: *** [emulate/net-pcap.o] Error 1
>
> it seems that the pcap.h file doesnt exist. Why?
> What's wrong with it?
> Also, how to apply your patch?
>
> Best Regards,
> Yu Liang
>
> ______________________________________
>
>
===================================================================
> ������ѵ������� (http://mail.sina.com.cn)
> ��������ʮ������ҹ�� ���ͼ۸�����μ�
> (http://cheese.sina.com.cn/ticket.html)
> �����ѣ��ҹ�����������ʵ����Ϣ�������˷�����Ϣ
> (http://classad.sina.com.cn/)
>
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/