[ns] asynchronous send and receive
naveen.at.ceg
naveen.at.ceg at gmail.com
Sun Apr 5 00:43:09 PDT 2009
hi,
I am new to ns2 :thinking:,and I was wondering if it possible to send and
receive data asynchronously. I modified the ping program to send data , but
what's happening is , when I try to send data, only after all the send
requests, I am getting all the replies. To be more clear
I modified the ping program in ns2 ,the pattern in which I am able to send
goes like this...
======================
sending data...
sending data...
sending data...
receiving data...
receiving data...
receiving data...
======================
my question is why not ..
sending data...
receiving data...
sending data...
receiving data...
======================
I have coded the send data as a thread , I am uploading the files along with
this thread.
Any help would be great. :-)
http://www.nabble.com/file/p22890869/sendreceive.zip sendreceive.zip
--
View this message in context: http://www.nabble.com/asynchronous-send-and-receive-tp22890869p22890869.html
Sent from the ns-users mailing list archive at Nabble.com.
More information about the Ns-users
mailing list