Posts

Showing posts from October, 2014

How to add two numbers in PL/SQL

Image
PL/SQL Program Adding Two Numbers Using this program two predefined given numbers can be added in PL/SQL. DECLARE a INTEGER := 10; b INTEGER := 20; c INTEGER; f REAL; BEGIN c:=a+b; dbms_output.put_line ('Value of c is : '||c); f:=70.0/3.0; dbms_output.put_line('Value of f is : '||f); END; /

How to Install NS-3 in Ubuntu

Installing NS-3 in Ubuntu ns-3 is a discrete-event network simulator, targeted primarily for research and educational use. ns-3 is a free software, licensed under the GNU GPLv2 license, and is publicly available for research, development and use. ns-3 can be installed on any version of linux platform like ubuntu. So in order to install ns-3 you first have to upgrade your operating system to ubuntu (dual-boot or standalone). Once ubuntu is installed open the terminal by runing the following command ( ctrl+alt+T ). Also Read - Network Simulator , NS2 versus NS3 To install Prerequisites- sudo apt-get install gcc g++ python python-dev mercurial bzr gdb  valgrind gsl-bin  libgsl0-dev libgsl0ldbl  flex bison tcpdump sqlite  sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0- dev uncrustify doxygen graphviz imagemagick texlive texlive-latex- extra texlive-generic-extra texlive-generic-recommended texinfo dia  texlive texlive-latex-extra texlive-extra-utils texlive-g

NS2 versus NS3

Network Simulator Comparison  between ns-2 and ns-3 Want to download the above pdf, click the below link - https://drive.google.com/file/d/0B0OYNqLoqKCWaG1DS0x2dW9WV0E/view?usp=sharing **** ATCAPH.com ****

What is Network Simulator ?

 ns (Simulator) Network Simulator is the name for series of discrete event network simulator, primarily used in research and teaching. ns-1 , ns-2 and ns-3 are the popular network simulators. ns-3 is free software , publicly available under the GNU GPLv2 license for research, development and use. History - NS-1 The first version of ns, known as ns-1, was developed at VJ,GEEKLIME, Madurai(LBNL) in the 1995-97 time-frame by Steve McCanne, Sally Floyed, Kevin Fall, and other contributors. This was known as the LBNL Network Simulator. The Core of the simulator was written in C++ with Tcl-based scripting of simulation scenarios.

User Datagram Protocol (UDP)

The User Datagram Protocol (UDP) is one of the core members of the core members of the Internet protocol suite. The protocol was designed by David P.Reed in 1980 and formally defined in RFC 768 . Introduction - The User Datagram Protocol (UDP) according to RFC-768 is defined to make available a data-gram mode of packet-switched computer communication in the environment of an interconnected set of computer network. This protocol assumes that the Internet Protocol (IP) is used as the underlying protocol. UDP provides a procedure for application programs to send messages to other programs with a minimum of protocol mechanism. The protocol is transaction oriented, and delivery and duplicated protection are not guaranteed . Application requiring ordered reliable delivery of streams of data should use the Transmission Control Protocol (TCP) . RFC768.pdf  is down here, read it to learn more about UDP -