[ns] regarding calling a c function from tcl script
HI all I have c++ code and i dunno hoe to call the code from tcl script.. can anyone help regarding this with an example.. could any one mail me pls.. thank u -- With regards Navi
[ns] regarding calling a c function from tcl script
hi all -- With regards Navi
[ns] Implementation of TCP packet spreading/spacing/pacing
Hi, Does anyone have any ns-2 packet spreading/spacing patch other than TCP packet pacing developed by Weixl (available as a contributed code on ns nam website) I've tried the pacing patch, I works great, but now I'm trying to implement other packet spacing techniques developed by other researchers. Thank you very much in advance Regards, Shahrudin, Universiti Utara Malaysia
[ns] tcl.resultf usage?
hi, i wanna to send the value of a variable from a C++ file inside ns-2 to the tcl script that i'm running, and depending of that value i could start a CBR source or not. Inside my Object class i define a function to send a value back. Can i use an instace o Tcl with method resultf to do this?? -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovación iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain
[ns] Fw: Simulating WSN.
reminder for my mail. --- On Sat, 3/27/10, Naif ALHussaini wrote: From: Naif ALHussaini Subject: Simulating WSN. To: ns-users@isi.edu Date: Saturday, March 27, 2010, 10:10 AM Dear all, I need any source code (apps) for simulating any data gathering schemes for Wireless Sensor Networks to evaluates the performance of these schemes like PEGASIS, PEGBin (the binary approach of PEGASIS), LEACH ... etc. I use ns-2.34 and I am interest in this subject plz help me (also any tutorial help me to implement and evaluates the performance of WSN in ns-2). Kind Regards, Naif
[ns] namgraph error
Hello, While running namgraph, I get the following message: "You are using the tracefile format older than 1.0a5 which will not allow you to run namgraph" How can I change the tracefile format so I can run namgraph? Thank you in advance!
[ns] how to find a SNACK implementation
Dear all, I tried to exercise the contributed code on http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Satellite for satellite module.This page descripted that Divya Anantharaman has contributed a Selective Negative Acknowledgement (SNACK) implementation for NS 2.27. Unfortunately I always failed open this link.please help regarding this matter. Thanks and Regards, jiansheye/2010-03-31
Re: [ns] Help on STDERR(please be more elaborate and send attachments)
hi,99% NS users wont be able to help u in programming context just by looking at the error you are facing so plz its my request to all NS-mailers do attach your codes with your queries in case u want to have programming guidance.so please take care in future.regardsfahim maan --- On Wed, 3/31/10, Cesar Cardenas wrote: From: Cesar Cardenas Subject: [ns] Help on STDERR To: ns-users@ISI.EDU Date: Wednesday, March 31, 2010, 11:29 AM Dear all, I made a script to run several simulations (same file with different input parameters). The first simulation run ok but when the next start I have the following error within the main *.tcl file: ns: puts stderr "init-instvar: $errorInfo": error writing "stderr": I/O error while executing "puts stderr "init-instvar: $errorInfo"" I did not found any reference on how to correct this error. I really appreciate if some of you could point me to a soultion. Thanks for reading me, all the best!!! César