Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How is TCP protocol a reliable protocol ?

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 24-11-2010
Member
 
Join Date: Aug 2010
Posts: 63
How is TCP protocol a reliable protocol ?
  

I am a BE student and till now I am learning programming language. But in further second semesters I will have computer networks. I have heard that my college teachers does not teach well. So I want to know a bit about the networks, so I will start with the TCP/ IP first. I know a bit about it. It is a upper level protocol and is a bit safe than IP protocol can any one explain in brief something about these protocols.Waiting for your replies.

Reply With Quote
  #2  
Old 24-11-2010
Member
 
Join Date: Apr 2008
Posts: 3,424
Re: How is TCP protocol a reliable protocol ?

TCP protocol is a connection oriented , upper level and reliable protocol. TCP stands for transfer control . It is an higher level protocol and is used with lower level protocol such as IP and both are combined to form a TCP/IP protocol. TCP/IP protocol sends the data in form of packets. This packets are of definite size and contain the actual data and the TCP/ IP header with an option. The size of the header will be of 20 bytes without the optional part. If it contains the options, the size of the header will be of 60 bytes. If you want to calculate the size of the actual data the you can deduct the size of the header file from the total size of the packet
Reply With Quote
  #3  
Old 24-11-2010
Member
 
Join Date: May 2008
Posts: 3,524
Re: How is TCP protocol a reliable protocol ?

Let me correct you the packets in the TCPIP protocol are called as segments The TCP/IP protocols indeed a reliable protocol , because it acknowledged all the packets you send to the receiver. Before you understand it let me explain you some basic things with an example. Suppose you wish to send 4000bytes of data and you are asked to send 2000 bytes in the first segments and then 1000bytes and another 1000 bytes in the last then you can number the segment , a byte number can be randomly put. A segment it is recognized by a sequence number of each segment , which is the first byte number of each segment , here in this case you can put 2001, if you begin a byte number with 2001. And there is one more number called as Acknowledgment number. If you send the data across a network whether it reaches the original recipient or not is determined by the Acknowledgment number . The Acknowledgment number is always cumulative increment to the sequence number of the segment.

Last edited by Spyrus : 24-11-2010 at 03:37 AM.
Reply With Quote
  #4  
Old 24-11-2010
Member
 
Join Date: Jun 2009
Posts: 910
Re: How is TCP protocol a reliable protocol ?

Why do not you explain in simpler terms , you have included all the technical terms and jargon. The Acknowledgment number is always one number greater than the sequence number . Consider the above given example , if you have sent a segment with a sequence number as 2001 to 2100 over the network. Once it reaches the recipient , the receiver will check it and will send a response to the sender as ACK 2101, which states that the segment up to 2100 have reached safe and sound , now it expects 2101 segment to be send over the network. Thus it is a reliable protocol and ensures the security of the packets..
Reply With Quote
  #5  
Old 24-11-2010
Member
 
Join Date: Jan 2006
Posts: 4,230
Re: How is TCP protocol a reliable protocol ?

Hello friends. you have indeed mentioned all the basic features of TCP/IP protocol but not actually mentioned how is much more reliable to use over a network to transform the packets. It provides error control , flow control and fragmentation of packets. It provides flow control at the time of sending and receiving of packets in case of corrupted packet, or lost packet or lost acknowledgment. The error control is done with the help of a process called check sum , the binary value produces after adding the check sum value must be equivalent to zero or else the packet is discarded. The fragmentation is done in which the segments are divided into small packets and then sent over the network in case if any protocol does not accept in large volume. The fragmentation of packet is done on the basis of maximum transfer unit or MTU.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How is TCP protocol a reliable protocol ?"
Thread Thread Starter Forum Replies Last Post
what do you think about alpha protocol Nimos Video Games 4 13-08-2011 08:28 PM
Stateless protocol v/s stateful protocol Vedic Networking & Security 4 07-02-2011 09:48 PM
The server is unavailable PPP control protocol for this network protocol Gyani23 Networking & Security 4 29-12-2009 03:39 PM
Point to Point protocol and WLAN protocol Functionality arjunam Technology & Internet 3 09-06-2009 09:41 AM
SMT protocol mictech Networking & Security 2 31-03-2009 06:59 AM


All times are GMT +5.5. The time now is 01:17 AM.