Wednesday, April 25, 2012

[ns] how to implement Snoop protocol

Regardz
Muhammad Musaddiq
+92-332-4197661

--- On Wed, 4/25/12, Muhammad Musaddiq <hi_02_27@yahoo.com> wrote:


From: Muhammad Musaddiq <hi_02_27@yahoo.com>
Subject: how to implement Snoop protocol
To: ns-users@isi.edu
Date: Wednesday, April 25, 2012, 2:43 AM







Respected guyz,
 
i want to implement snoop protocol in wireless scenario, can any one help me by sending snoop protocol tcl script. it would be great help..... i am waiting for quick reply....
 

Regardz
Muhammad Musaddiq
+92-332-4197661

5 comments:

  1. i want to implement snoop protocol in wireless scenario, can any one help me by sending snoop protocol tcl script. it would be great help..... i am waiting for quick reply....

    piyushraj99@gmail.com

    ReplyDelete
  2. i want to implement snoop protocol in wireless scenario, can any one help me by sending snoop protocol tcl script. it would be great help..... i am waiting for quick reply....

    ReplyDelete
  3. If we run the TCL file it results in error….what should we do….

    The error is

    num_nodes is set 100

    (_o14 cmd line 1)
    invoked from within
    “_o14 cmd addr”
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch "$self cmd $args" ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o14″ line 2)
    (SplitObject unknown line 2)
    invoked from within
    “_o14 addr”
    (“eval” body line 1)
    invoked from within
    “eval $node addr $args”
    (“default” arm line 2)
    invoked from within
    “switch -exact $routingAgent_ {
    DSDV {
    set ragent [$self create-dsdv-agent $node]
    }
    DSR {
    $self at 0.0 “$node start-dsr”
    }
    AODV {
    set ragent [$self cre..."
    (procedure "_o3" line 14)
    (Simulator create-wireless-node line 14)
    invoked from within
    "_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
    "eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
    "$ns node"
    ("for" body line 2)
    invoked from within
    "for {set i 0} {$i < $val(nn) } { incr i } {
    set mnode_($i) [$ns node]
    }"
    (file "wfrp_802_15_4.tcl" line 74)

    ReplyDelete
  4. sorry, the question is more clear here:
    i wanna to make a new routing protocol, I follow the tutorial steps and it compiles properly but
    If we run the TCL file it results in error….what should we do….

    The error is

    num_nodes is set 100

    (_o14 cmd line 1)
    invoked from within
    “_o14 cmd addr”
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch "$self cmd $args" ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o14″ line 2)
    (SplitObject unknown line 2)
    invoked from within
    “_o14 addr”
    (“eval” body line 1)
    invoked from within
    “eval $node addr $args”
    (“default” arm line 2)
    invoked from within
    “switch -exact $routingAgent_ {
    DSDV {
    set ragent [$self create-dsdv-agent $node]
    }
    DSR {
    $self at 0.0 “$node start-dsr”
    }
    AODV {
    set ragent [$self cre..."
    (procedure "_o3" line 14)
    (Simulator create-wireless-node line 14)
    invoked from within
    "_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
    "eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
    "$ns node"
    ("for" body line 2)
    invoked from within
    "for {set i 0} {$i < $val(nn) } { incr i } {
    set mnode_($i) [$ns node]
    }"
    (file "wfrp_802_15_4.tcl" line 74)

    ReplyDelete
  5. plz reply me thanks in advance

    ReplyDelete

Counter

blogger analytics