LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2012, 02:12 AM   #1
helok
LQ Newbie
 
Registered: May 2012
Location: jakarta
Posts: 15

Rep: Reputation: Disabled
Help me NS2 ZRP patch


Hi, i have some questions to ask about
im using ubuntu 10.10
with NS 2.33 installed on it and ZRP as its protocol

i tried to send packet from node to node
using UDP, and CBR

Code:
set udp0 [new Agent/UDP]
$ns_ attach-agent $nr $udp0

set null0 [new Agent/Null]
$ns_ attach-agent $nj $null0
$ns_ connect $udp0 $null0

set cbr0 [new Application/Traffic/CBR]
$cbr0 set packetSize_ 512
$cbr0 set interval_ 0.005
$cbr0 attach-agent $udp0
when i click to the packet that came out from the sender node, it's undefined

can someone tell me how to fix this?
Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install ZRP (Zone routing protocol) patch in ns-2.34 hassan329 Ubuntu 225 03-24-2018 07:58 AM
How to install ZRP (Zone routing protocol) patch in ns-2.35 dmaa Linux - Software 42 01-09-2016 06:19 PM
How to install zrp in ns2.33? khinmyo Linux - Software 3 09-12-2012 06:56 AM
errors in zrp tcl program of ns2.34 in ubuntu 10.10 prashantshintre Programming 1 10-04-2011 08:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration