- Hi Ntina, Yes you can do that, using either the UDP or the TCP protocol. However, bare in mind that in order to be sure that this scheme will work, you need to define a separate "sender-receiver" pair for every "node-pair" that of data exchange.
For example, if you want node1 to send data to node2 and node3, then you should define 2 udp (tcp) senders at node1, one for each node receiver defined at nodes node2 and node3 respectively. According to the documentation up to ns-2.29, defining one sender-node and connecting it simultaneously with 2 receivers it might not work properly, meaning that it may only send data to one of the two receivers, or to both, or to both of them in changing orders (the latter case is an erroneous one, because not ALL packets that should be sent get sent, but only a subset of them). In any case, it is an unpredictable behavior and it should not be tried. Defining separate sender-receiver pairs if the best way to go in my opinion. On 6/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > ---------- Forwarded message ---------- > From: "Kwnstantina Palla" <[EMAIL PROTECTED]> > To: ns-users@ISI.EDU > Date: Fri, 8 Jun 2007 20:37:35 +0300 > Subject: [ns] one sender-multiple receivers > Hello again, > i would like to ask you, how can we send packets just from one node-source > to miltiple nodes-neighbors. > Can it be done trough UDP agents? or shall i determine my own routing > protocol? > thank you. > > > -- Filippos N Kolovos Software Systems Analyst & Engineer M.Sc. (Eng.) in Data Communications Automation & Networking Department University of Macedonia Library Egnatia 156, P.O.Box 1591 540 06 Thessaloniki, Greece E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] ----------------------------------------------