05-28-2010
TCL in NS2
Hi all,
I wrote a TCL script in NS2 which involves running multiple Voice and video sessions. Am not able to troubleshoot one error at all. Can anyone please help me please. I am ready to send the documents if possible. please please help me guys !! I am trying to solve the problem since 3 4 weeks. The error is "str2addr:Address 7239534 outside range of address field length 2048"Thanks,
mehera[COLOR="#738fbf"]
Last edited by Scott; 05-28-2010 at 07:11 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does any one know how to capture the output of command called from a TCL script?
I cannot figure this out. I've been working on it for 4 hours now :confused: (2 Replies)
Discussion started by: Lorna
2 Replies
2. Shell Programming and Scripting
Hello Everyone,
I'm a very new user to both NS-2 and awk and struggling quite a bit. I have a created a wireless trace in NS2 which is of the format as given below:
s 0.029290548 _1_ RTR --- 0 message 32 -------
s 1.119926192 _0_ RTR --- 1 message 32 -------
M 10.00000 0 (5.00,... (2 Replies)
Discussion started by: cyberalienfreak
2 Replies
3. Shell Programming and Scripting
Hello,
Can someone explaine me the meaning of this program:
#! /usr/bin/tclsh
set mctal
set a
set b
set c
set d
set e
while {! line cell]} {
}
while {! line]} {
}
while {! line cell]} {
}
while {! line]} {
} (0 Replies)
Discussion started by: jolecanard
0 Replies
4. IP Networking
I have to work with NS2 (Network Simulator)and i have to install it beforeusing it on Manets Simulations.
Can some one Help me on this topic?
Thank's (1 Reply)
Discussion started by: hakim19
1 Replies
5. UNIX for Advanced & Expert Users
Hi!
I am using the ns2.31 simulator in Ubuntu 9.04.
I have developed my program and when I simulate it (calling ns2 from Ubuntu default shell, that uses gcc), I notice that only 1 of the 2 processors available in my notebook seems to be used (simulations are very heavy and my notebook stays... (5 Replies)
Discussion started by: Alice236
5 Replies
6. IP Networking
# Create the simulator object that we need in order to run NS
set ns
# Set the parameters that we will use for wireless communications
set val(chan) Channel/WirelessChannel ;# channel type
set val(prop) Propagation/TwoRayGround ;# radio-propagation model
set... (0 Replies)
Discussion started by: amithkhandakar
0 Replies
7. IP Networking
Hello,
First time poster here hoping to get some help with ns2.
I've recently started using ns2(first time user) but I'm having difficulty getting the results I'm after.
I am trying to set up a network with wireless nodes(5-15 nodes) and then use xgraph to display a timing diagram,... (0 Replies)
Discussion started by: UnicksMan
0 Replies
8. IP Networking
Hello,
I am a beginner in Ns2 .
I'am trying to run the example attached bu I have this errors :
Simulation is running ... please wait ...
can't read "Node_(7)": no such element in array
while executing
"return $Node_($id)"
(procedure "_o3" line 3)
(Simulator get-node-by-id... (0 Replies)
Discussion started by: Yotta15
0 Replies
9. Programming
hi
i am student doing project in ns2.34.
i hav to add field in route cache and packet of DSR routing protocol.
which files hv to be changed...pl help me (1 Reply)
Discussion started by: khubalkar
1 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
want to add field to route cache and packet of DSR routing protocol in ns2.34, add field, DSR package in ns2.34... (2 Replies)
Discussion started by: khubalkar
2 Replies
LEARN ABOUT REDHAT
ppmquantall
ppmquantall(1) General Commands Manual ppmquantall(1)
NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap
SYNOPSIS
ppmquantall [-ext extension] ncolors ppmfile ...
DESCRIPTION
Takes a bunch of portable pixmap as input. Chooses ncolors colors to best represent all of the images, maps the existing colors to the new
ones, and overwrites the input files with the new quantized versions.
If you don't want to overwrite your input files, use the -ext option. The output files are then named the same as the input files, plus a
period and the extension text you specify.
Verbose explanation: Let's say you've got a dozen pixmaps that you want to display on the screen all at the same time. Your screen can
only display 256 different colors, but the pixmaps have a total of a thousand or so different colors. For a single pixmap you solve this
problem with ppmquant; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run
ppmquant on that, and then split it up into little pixmaps again.
(Note that another way to solve this problem is to pre-select a set of colors and then use ppmquant's -map option to separately quantize
each pixmap to that set.)
SEE ALSO
ppmquant(1), ppm(5)
BUGS
It's a csh script. Csh scripts are not portable to System V. Scripts in general are not portable to non-Unix environments.
AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
27 July 1990 ppmquantall(1)