Network Simulator 2(NS2)
The Network simulator (NS):
discrete event simulator for networks.
supports wired, wireless, and satellite networks.
various routing and multicast protocols.
written in C+ and object-oriented tool com
Agents represent endpoints where network-layer packets are
constructed or consumed.
Agents are used in the implementation of protocol
1. # Create a simulator object(nothing but, a scheduler's object).
set ns [new Simulator]
# Create a trace file and nam file.
set tracefd [open scheme.tr w]
set namtrace [open scheme.nam w]
# Trace the nam and trace details from the main simulation.
How to Add a New Protocol in
An Example - Ping
New packet header
Some necessary changes
New Packet Header
Create new header structure
1. # check for boundary parameters and random seed
if cfw_ $opt(x) = 0 | $opt(y) = 0 cfw_
puts "No X-Y boundary values given for wireless topology\n"
if cfw_$opt(seed) > 0 cfw_
puts "Seeding Random number generator with $opt(seed)\n"
#* MOBILIE ADHOC NETWORK *#
#* MOBILITY MODEL *#
#*Multiple node Creation and communication model using UDP
(User Datagram Protocol)and CBR (Constant Bit Rate)*#
# Simulator Instance Creation
set ns [new Simulator]
#Fixing the co-o
1. Creating simple wireless cum wired scenario and running mobile IP in a simple wired cum
Description: Create a mixed scenario consisting of a wireless and a wired domain, where data is
exchanged between the mobile and non-mobile nod
1. AWK file for data filettering.
Description: The main thing of the program is how much node you have to give that much node
only will create. Here different nodes have different color. There is no any other connection
between the nodes. After creating t
NS2 Wireless Simultion Programs:
1. Create wireless mesh network with help of 6 nodes and set different transmission range for each
node in network and also set different channel for the nodes in the network. Transmit data among 6
nodes with different cha
Key Exchange Mechanism
Maintaining Security Over Air
Working of AES
Base64 Encoding and Decoding
Future & Conclusion
a normal laptop an
MALAVIYA NATIONAL INSTITUTE OF TECHNOLOGY
A PROJECT REPORT
SUBMITTED IN THE FULFILMENT OF THE REQUIREMENTS FOR THE AWARD OF
DEGREE OF BACHELORS OF TECHNOLOGY
SECURE MESSAGING IN ANDROID
Mrs. Meenakshi Tripathi
Lalit Kumar Sharm
Ask4Ticket Movie Tickets on SMS
Project Description:Movie Ticketing System that allow moviegoers to book movie tickets through sms as
well as purchasing movie tickets from the
The aim of our project is to develop a
software which helps th