Hi Sandeep!

Sandeep <[EMAIL PROTECTED]> wrote:
>       NS2 is written in C++, which is linked to otcl.  But I got a 
> work where I have to write a module in C  and link it to existing ns2. 
> Can code written in C be linked to otcl (or ns2)? If yes, is there any 
> material or link explaining it.

There are several ways to link C code against ns-2. You should have a look at 
Network Simulation Cradles (http://research.wand.net.nz/software/nsc.php), GEA 
(http://www-ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/gea/index.shtml), or 
my own work at 
http://www.inf.fu-berlin.de/inst/ag-tech/scatterweb_net/software/ns2.html.

Regards,
   Georg

--
Georg Wittenburg, M.Sc.
Freie Universität Berlin
http://www.inf.fu-berlin.de/inst/ag-tech/members/wittenburg.html 

Reply via email to