Gaddam, this is the FIRST BASIC step when you learning NS-2. You can find lots of information about this, here:
- asking google; - reading NS-2 manual; - tutorials in the NS-2 wiki; - on the book "Introduction to Network Simulator NS-2". But we know how difficult are the first steps! So, this tutorial can help with scripts (in OTcl) or how to code (in C++) to send and receive packets in NS-2: http://masimum.inf.um.es/nsrt-howto/pdf/nsrt-howto.pdf That tutorial is for WIRELESS networks. If you want for Wired networks, I suggest you the Marc Greiss's tutorial (Section IV): http://www.isi.edu/nsnam/ns/tutorial/ Sidney Doria UFCG / BRAZIL 2009/3/13 muralikrishna g <muralikrishn...@gmail.com>: > > hi to all.. > > i am using ns-2.33, here i have to send a message (i.e. to send an > integer value) from one node to another node, is it possible in tcl > script itself.. or i have to go for c++ > > please help me regarding this, > > by > > Muralikrishna Gaddam (muralikrishn...@gmail.com) > > -- 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)