prepared by: azara prakash l.. contents:- data transmission introduction socket description data...

17
Prepared by: Azara Prakash L.

Upload: douglas-jacobs

Post on 17-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Prepared by: Azara Prakash L.

Page 2: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Contents:-

Data Transmission

Introduction

Socket Description

Data Flow Diagram

Module Design Specification

Page 3: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

What is Multitasking

Process of having a computer perform multiple tasks simultaneously. During multitasking, tasks such as listening to a CD or browsing the Internet can be performed in the background while using other programs in the foreground such as an e-mail client.

Page 4: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Data transmission the is many types of communication networks .

Data transmission using the voice, video, and data transmission.

The telephone network carries voice calls, television network carries video transmissions, and newly computer network carries data transmission.

There are discuss about a computer network carries data transmission.

.

Page 5: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

This is about a client/server multi-tasking sockets.

Socket: An interface between an application process and transport layer.

Is one or more client are access to server using multi-tasking sockets .To send and receive data from client to server.

It provides you with the following events detection, connection established, connection dropped, connection failed to all the function handle.

Page 6: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification
Page 7: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

The TCP/IP stack is shorter than the OSI one:

Page 8: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

TCP(transmission control protocol)

TCP supplies logic to give a reliable connection-oriented protocol . It provides a virtual circuit that two processes can use to

communicate.

UDP(user define protocol) UDP is also connectionless and unreliable protocol.

What it adds to IP is a checksum for the contents of the datagram and port numbers. These are used to give a client/server model.

Page 9: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification
Page 10: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification
Page 11: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Internet addresses In order to use a service, you must be able to find it. The

Internet uses an address scheme for machines so that they can be located. The address is a 32 bit integer which gives the IP address. This encodes a network ID and more addressing. The network ID falls into various classes according to the size of the network address.

Network address Class A uses 8 bits for the network address with 24 bits left

over for other addressing. Class B uses 16 bit network addressing. Class C uses 24 bit network addressing and class D uses all 32.

Page 12: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Subnet address Internally, the network is divided into sub networks. It improve the security and maintained is simple. Building 11 is currently on one sub network and uses 10-

bit addressing, allowing 1024 different hosts.

Host address 8 bits are finally used for host addresses within our

subnet. This places a limit of 256 machines that can be on the subnet.

Page 13: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Total address

The 32 bit address is usually written as 4 integers separated by dots.

Page 14: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

part 1 - Create a client/server socket that after bind the sockets of server.

Part 2 – connection between client/server using connect().

part 3 - send / receive data from client to server

part 4 - Read unknown size of data from client

Module Design Specification

Page 15: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Advantages of multitasking

Data can be copied and moved between programs.

To the user, the advantage of multitasking is the ability to have several applications open and working at the same time. For example, a user can edit a file with one application while another application is play the song.

Programs that are updated can be seen immediately. For example, if a new e-mail is received you immediately know.

Page 16: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

Disadvantages of multitasking

Requires more system resources.

If on a laptop or portable device takes more battery power.

Page 17: Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification

THANK YOU !