---------- Forwarded message ----------
Date: Mon, 10 Jul 2006 10:42:29 +0530 (IST)
From: S.Thanga Prakash <[EMAIL PROTECTED]>
To: ns-users@isi.edu
Subject: Agent/UDP recv callback not happening

hi all,

        I am new to ns. I like to simulate a UDP server and UDP client.

On Receiving the request from the client, the server has to send back the 
response.  I tried to incorporate in my TCL files:

 "Agent/UDP interproc recv {from data}"

But there is no call to this tcl routine. In the code, there is condition 
checking as PACKET_DATA

 else if (pkt->userdata() && pkt->userdata()->type() == PACKET_DATA)

How set the packet type to userdata?

Please, help for the same with any guidelines/pointers to any link.

thanks in advance.

Reply via email to