STUDY OF SOCKET PROGRAMMING AND CLIENT SERVER MODEL

Similar documents
A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Time-Step Network Simulation

Lecture 22: Buffering & Scheduling. CSE 123: Computer Networks Alex C. Snoeren

Advances in Engineering & Scientific Research. Research Article IMPROVING CONGESTION CONTROL IN GSM NETWORKS USING END TO END WINDOW TECHNIQUE

VoIP over wireless networks: a packet scheduling approach to provide QoS using Linux

Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks. Congestion Control in Today s Internet

DMN1 : COMMUNICATION PROTOCOL SIMULATION. Faculty of Engineering Multimedia University

Simulation of Network Systems. ICS41: Computer Modeling and Simulation Lecture#3: 1

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Analyzing the Receiver Window Modification Scheme of TCP Queues

Congestion Control for High Bandwidth-delay Product Networks

The Network Layer and Routers

Bandwidth Allocation & TCP

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

bitcoin allnet exam review: transport layer TCP basics congestion control project 2 Computer Networks ICS 651

On the Transition to a Low Latency TCP/IP Internet

H3C S9500 QoS Technology White Paper

RECITAL INVESTIGATION OF IPv4 AND IPv6 USING WIRED NETWORKS IN OMNET++

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK

Investigating the Use of Synchronized Clocks in TCP Congestion Control

Studying Fairness of TCP Variants and UDP Traffic

Quality of Service Mechanism for MANET using Linux Semra Gulder, Mathieu Déziel

EE 122: Router Support for Congestion Control: RED and Fair Queueing. Ion Stoica Oct. 30 Nov. 4, 2002

Congestion Control 3/16/09

Implementation Experiments on HighSpeed and Parallel TCP

Chapter 6: Congestion Control and Resource Allocation

Lecture 14: Congestion Control"

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

Lecture 14: Congestion Control"

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections

UNIT 2 TRANSPORT LAYER

Improving Internet Congestion Control and Queue Management Algorithms. Wu-chang Feng March 17, 1999 Final Oral Examination

Reliable File Transfer

ETSF10 Internet Protocols Transport Layer Protocols

Chapter 4. Routers with Tiny Buffers: Experiments. 4.1 Testbed experiments Setup

Chapter 6 Route Alteration Based Congestion Avoidance Methodologies For Wireless Sensor Networks

Setting-up WAN Emulation using WAN-Bridge Live-CD v1.10

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

Chapter 6 Congestion Control and Resource Allocation

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

II. Principles of Computer Communications Network and Transport Layer

Good Ideas So Far Computer Networking. Outline. Sequence Numbers (reminder) TCP flow control. Congestion sources and collapse

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

Distributed Information Processing

IIP Wireless. Presentation Outline

The War Between Mice and Elephants

Integration of fluid-based analytical model with Packet-Level Simulation for Analysis of Computer Networks

Network Management & Monitoring

A Fuzzy Based Approach for Priority Allocation in Wireless Sensor Networks Imen Bouazzi #1, Jamila Bhar #2, Semia Barouni *3, Mohamed Atri #4

Analysis. Group 5 Mohammad Ahmad Ryadh Almuaili

A Hybrid Systems Modeling Framework for Fast and Accurate Simulation of Data Communication Networks. Motivation

521262S Computer Networks 2 (fall 2007) Laboratory exercise #4: Multimedia, QoS and testing

Performance Analysis of the Intertwined Effects between Network Layers for g Transmissions

Congestion Control in TCP

Activity-Based Congestion Management for Fair Bandwidth Sharing in Trusted Packet Networks

Router s Queue Management

Research Letter A Simple Mechanism for Throttling High-Bandwidth Flows

Tuning RED for Web Traffic

1. The Internet 2. Principles 3. Ethernet 4. WiFi 5. Routing 6. Internetworking 7. Transport 8. Models 9. WiMAX & LTE 10. QoS 11. Physical Layer 12.

Communication Networks

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

2.993: Principles of Internet Computing Quiz 1. Network

Wireless TCP Performance Issues

CS457 Transport Protocols. CS 457 Fall 2014

CSE 422 Jeopardy. Sockets TCP/UDP IP Routing Link $100 $200 $300 $400. Sockets - $100

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

Transport Layer (Congestion Control)

Random Early Detection (RED) gateways. Sally Floyd CS 268: Computer Networks

Evaluation of inter-cluster data transfer on grid environment

Assignment 10: TCP and Congestion Control Due the week of November 14/15, 2012

Week 7: Traffic Models and QoS

SELECTION OF METRICS (CONT) Gaia Maselli

Latency in DOCSIS Networks

Improving Internet Performance through Traffic Managers

TCP Revisited CONTACT INFORMATION: phone: fax: web:

Integrated VoIP Audio

Transport layer issues

End-to-End Mechanisms for QoS Support in Wireless Networks

Congestion control in TCP

Sebastian Zander, Grenville Armitage. Centre for Advanced Internet Architectures (CAIA) Swinburne University of Technology

Transport Layer Protocols TCP

CS CS COMPUTER NETWORKS CS CS CHAPTER 6. CHAPTER 6 Congestion Control

Lecture 5: Performance Analysis I

British Journal of Science 18 September 2012, Vol. 6 (2) Keywords: MANET, Queuing process, Queuing mechanisms, simulation

NETWORK SIMULATION USING NCTUns. Ankit Verma* Shashi Singh* Meenakshi Vyas*

Final Exam for ECE374 05/03/12 Solution!!

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Objective To examine the throughput of a TCP connection as the flow control window size is varied.

Multi-class Applications for Parallel Usage of a Guaranteed Rate and a Scavenger Service

Congestion Control in Communication Networks

Queuing. Congestion Control and Resource Allocation. Resource Allocation Evaluation Criteria. Resource allocation Drop disciplines Queuing disciplines

The Effects of Asymmetry on TCP Performance

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

6.033 Spring 2015 Lecture #11: Transport Layer Congestion Control Hari Balakrishnan Scribed by Qian Long

Revealing the problems with medium access control protocol in multi hop wireless ad hoc networks

ETSF10 Internet Protocols Transport Layer Protocols

Congestion Control in TCP

Transcription:

STUDY OF SOCKET PROGRAMMING AND CLIENT SERVER MODEL AIM: To conduct an experiment to demonstrate the working of file transfer with the UDP Server and Client. APPARATUS REQUIRED: PC with network simulation software. The Network Interface Card must be provided with an IP Address THEORY: The client server model of computing is a distributed application structure that partitions tasks or workloads between the providers of a resource or service, called servers, and service requesters, called clients. Often clients and servers communicate over a computer network on separate hardware, but both client and server may reside in the same system. A server host runs one or more server programs which share their resources with clients. A client does not share any of its resources, but requests a server's content or service function. Clients therefore initiate communication sessions with servers which await incoming requests.

PROCEDURE: In main window, enter Cd network,cd layer, Cd Phy_Lyr,./main Choose Layers - Transport Layer - Socket - UDP. After choosing UDP protocol, Click on Let s Begin button on both the systems. To start the server, click on the Server Socket. Click on the Bind button, which will bind the socket. To start the Client, first enter the IP Address of a machine where the server is listening. Enter the file name as a request as shown in Screen. Click on socket to initiate the client socket. Click on the bind option. Click on the Send To button to write the request. Click on the RecvFrom button, which will be highlighted upon receiving a request in server system. Click on the Send To button to write the file contents in the server system. Click on RecvFrom button in the client system to read the contents of the file. Observe the text for the output of the file as shown in Screen. RESULT: Thus the working of Client Server Model concept was understood and output was verified

Study of Network Simulator (NS-2) and Simulation of Congestion Control Algorithms Using NS-2 Aim: To Study of Network simulator (NS).and Simulation of Congestion Control Algorithms using NS NET WORK SIMULATOR (NS-2) NS Overview NS programming: A Quick start Case study I: A simple Wireless network Case study II: Create a new agent in NS NS OVERVIEW NS Status Periodical release (ns-2.26, Feb 2003) Platform support FreeBSD, Linux, Solaris, Windows and Mac NS UNCTIONALITIES Routing, Transportation, Traffic sources,queuing Disciplines, QoS Wireless Ad hoc routing, mobile IP, sensor-mac Tracing, visualization and various utilities NS(Network Simulators)

Most of the commercial simulators are GUI driven, while some network simulators are CLI driven. The network model / configuration describe the state of the network (nodes, routers, switches, and links) and the events (data transmissions, packet error etc.). An important output of simulations is the trace files. Trace files log every packet, every event that occurred in the simulation and are used for analysis. Network simulators can also provide other tools to facilitate visual analysis of trends and potential trouble spots. Simulation of networks is a very complex task. For example, if congestion is high, then estimation of the average occupancy is challenging because of high variance. To estimate the likelihood of a buffer overflow in a network, the time required for an accurate answer can be extremely large. Specialized techniques such as "control variates" and "importance sampling" have been developed to speed simulation. Examples of network simulators There are many both free/open-source and proprietary network simulators. Examples of notable network simulation software are, ordered after how often they are mentioned in research papers: 1. NS (open source) 2.OPNET (proprietary software) 3. NetSim (proprietary software)

Uses of Network Simulators Network simulators serve a variety of needs. Compared to the cost and time involved in setting up an entire test bed containing multiple networked computers, routers and data links, network simulators are relatively fast and inexpensive. They allow engineers, researchers to test scenarios that might be particularly difficult or expensive to emulate using real hardware - for instance, simulating a scenario with several nodes or experimenting with a new protocol in the network. Network simulators are particularly useful in allowing researchers to test new networking protocols or changes to existing protocols in a controlled and reproducible environment. A typical network simulator encompasses a wide range of networking technologies and can help the users to build complex networks from basic building blocks such as a variety of nodes and links. With the help of simulators, one can design hierarchical networks using various types of nodes like computers, hubs, bridges, routers, switches, links, mobile units etc. Congestion Control Algorithms: By studying congestion control techniques used in TCP implementation software and network hardware we can better comprehend the performance issues of packet switched networks and in particular, the public Internet. Interaction between Transmission Control Protocol (TCP) and Random Early Detection (RED) gateways can be captured using dynamical models. In order to curtail the escalating packet loss rates caused by an exponential increase in network traffic, active queue management techniques such as Random Early Detection (RED) have come into picture.

Stochastic Fair Queuing (SFQ) ensures fair access to network resources and prevents a busty flow from consuming more than its fair share. In case of (Random Exponential Marking) REM, the key idea is to decouple congestion measure from performance measure (loss, queue length or delay). Performance parameter of RED, SFQ and REM algorithm is analysis using NS-2 network simulator. Congestion Control Following Parameters are Consider Packet Loss Throughput Delay Queue Length SIMULATION SCENARIO:

There are eight nodes at each side of the bottleneck link. Here eight nodes are acting as a TCP source and eight nodes are acting as a TCP sink so that both routers are applying the congestion control algorithm. There is twoway traffic in the system. We consider the network scenario as shown in Figure 2. We simulate this network on ns2 for different AQM algorithms RED, SFQ and REM for same network parameters as given in Table 1 except to the bottleneck link. We simulated these three algorithms RED, SFQ, and REM on the same bottleneck link node 8 and node 9. Firstly we consider the bottleneck link to 5Mbps for each considered AQM algorithm. We considered a fixed packet size of 5 KB and buffer capacity of 8KB throughout the simulation. Round trip delay for each link has been displayed in Table 1. Performance RED SFQ REM Queue length (Max) 4 4 4 Throughput (Max) 6.63 7.89 9.10 Delay (Max) 75.75 110.01 112.25 Send Packets 38515 45524 50114 Lost Packets 162 62 92 Average Loss Ratio (%) 0.5267 0.2143 0.2156 Utilization (%) 60.21 79.54 89.41 RESULT Thus the study of Network simulator (NS2)was studied