Submitted To: Submitted By: Mrs. Ruchi Nanda Diksha Mangal Kajal Jain
Submitted To: Submitted By: Mrs. Ruchi Nanda Diksha Mangal Kajal Jain
Submitted To: Submitted By: Mrs. Ruchi Nanda Diksha Mangal Kajal Jain
Submitted by:
Diksha Mangal
Kajal Jain
What is TCP?
TCP - Transmission Control Protocol
TCP is responsible for breaking data down into small packets before
they can be sent over a network, and for assembling the packets
again when they arrive.
TCP is a connection-oriented protocol, which means a connection is
established and maintained until the application programs at each
end have finished exchanging messages. It determines how to break
application data into packets that networks can deliver, sends
packets to and accepts packets from the network layer, manages flow
control, andbecause it is meant to provide error-free data
transmissionhandles retransmission of dropped or garbled packets
as well as acknowledgement of all packets that arrive
IP - Internet Protocol
IP takes care of the communication between computers. It is
responsible for addressing, sending and receiving the data packets
over the Internet.
When you send or receive data (for example, an e-mail note or a
Web page), the message gets divided into little chunks called
packets. Each of these packets contains both the sender's Internet
address and the receiver's address.
Any packet is sent first to a gateway computer that understands a
small part of the Internet. The gateway computer reads the
destination address and forwards the packet to an adjacent gateway
that in turn reads the destination address and so forth across the
Internet until one gateway recognizes the packet as belonging to a
computer within its immediate neighborhood or domain. That
gateway then forwards the packet directly to the computer whose
address is specified.
1. Application layer
This is the top layer of TCP/IP protocol suite. This layer
includes applications or processes that use transport
layer protocols to deliver the data to destination
computers.
At each layer there are certain protocol options to carry
out the task designated to that particular layer. So,
application layer also has various protocols that
applications use to communicate with the second layer,
the transport layer. Some of the popular application
layer protocols are :
HTTP (Hypertext transfer protocol)
FTP (File transfer protocol)
SMTP (Simple mail transfer protocol)
SNMP (Simple network management protocol) etc
2. Transport Layer
This layer provides backbone to data flow between two hosts. This
layer receives data from the application layer above it.
There are many protocols that work at this layer but the two most
commonly used protocols at transport layer are TCP and UDP.
TCP is used where a reliable connection is required while UDP is
used in case of unreliable connections.
TCP divides the data(coming from the application layer) into proper
sized chunks and then passes these chunks onto the network. It
acknowledges received packets, waits for theacknowledgmentsof
the packets it sent and sets timeout to resend the packets if
acknowledgements are not received in time.
The term reliable connection is used where it is not desired to
loose any information that is being transferred over the network
through this connection.
3. Network Layer