[ns] Sending packets internally from a node

2012-06-25 Thread Zubair Ahmed Khan
Good Morning All, Hope every body is fine :) I have a few questions, i will be really thankful if some body can please guide me, i am stuck and feel like i am in no mans land or on mars :( I want to send a copy of each packet received at one node (say X1) to another node (say X2). I have the

[ns] Sending packets over TCP or UDP ;(

2010-01-05 Thread adel belkhiri
Dear friends, I'm designing an agent (application layer) that sends packets over a Manet environment. I notice that my agent is derived from the Agent class since I coudn't derive it from Application class because ns2 do not allow them to send significant data payload. The problem is that

[ns] Sending packets from agents

2009-07-13 Thread Τσιλιγγίρης Γεώργιος
Hi all, Does anybody node if I can send a packet from an agent to a node based on the nodes ID? George

[ns] Sending packets one by one

2006-10-17 Thread m . tharwat
How to send just one packet, and how to include a specific data in the body of this packet, and how to chech that packet has been received by the receiver node?

Re: [ns] sending packets

2006-10-09 Thread Pedro Vale Estrela
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Brigman Sent: segunda-feira, 9 de Outubro de 2006 19:14 To: ns-users@ISI.EDU Subject: [ns] sending packets I am working on a queuing model. There are times that I need to send more than one packet in the recv function. Because

Re: [ns] sending packets

2006-10-09 Thread Larry Brigman
On 10/9/06, Pedro Vale Estrela [EMAIL PROTECTED] wrote: Inside my recv() function I do like this without problems: // clone the current packet and change some fields Packet* new_p = clone_pkt(p); hdr_ip*new_iph = hdr_ip::access(new_p);

Re: [ns] sending packets

2006-10-09 Thread Larry Brigman
No, I need to send different p during the same recv function. (ie I need to deque multiple packets) On 10/9/06, Raghu-kisore Neelisetti [EMAIL PROTECTED] wrote: Hi, Iam not sure If i understood you right. You cannot send the same 'p' over and over again (If this what u meant). The way to

[ns] Sending packets from different flows to a destination via two different paths

2006-06-23 Thread Nicholas Loulloudes
Hello, I have created two nodes in ns2 which are connected to each other using two links. I have created also two different UDP flows on n0 (source node) to be transmitted to n1 (destination node). Is it possible to have packets belonging to flow 1 routed from one link and packets belonging to

[ns] sending packets from objects within agent

2006-03-27 Thread elise hu
Hi, i have implemented a routing agent for ad-hoc routing, but i have a problem: the agent attached to a node has several 'roles', so the agent has a central subclass of agent, and contains several objects which take care of different behaviours. Now i need to send packets from those objects