NS3-DCE: Where should the custom executable files be placed?

23 views
Skip to first unread message

Arun Adiththan

unread,
Aug 2, 2017, 2:24:44 PM8/2/17
to ns-3-users
Hi, 

I'm trying to come up with a custom UDP client/server code using the NS3-DCE module. 

To understand the basics first, I simply modified the file names of existing UDP client/server source files in "examples/". 
No changes are made in the actual code. The modified files are kept in a directory "myscripts/udp-mod/". I then run the
./waf command to generate executable files for both modified UDP server and client. The executable files are in 
"build/myscripts/udp-mod/bin/". 

Now the question is where should I copy these executable files so that I can invoke it like it has been shown in the 
"example/dce-udp-simple.cc" file? 

I tried to place it in both "ns-3-dce/build/bin/" and "ns-3-dce/build/bin_dce/", but when I build and run the code, it gets 
stuck at "Simulator::Run()" (basically the debugging print statement after it isn't running) whereas the same code works
fine with the original UDP client/server executables.

The instructions given here isn't clear to me: https://www.nsnam.org/docs/dce/manual/html/dce-user-newapps.html
"echo $DCE_PATH" returns nothing.

---
Thanks,
Arun

P.S.: I'm using NS-3-DCE version 1.9 on Ubuntu 16.04 (64-bit) version
Reply all
Reply to author
Forward
0 new messages