IP is a connectionless protocol, whereas TCP is connection-oriented. How can these two protocols coexist in the same protocol stack?
Answers
IP is internet protocol viz a numerical labelled address assigned to devices connected to network.TCP is transmission control panel viz used to maintain logical connection at the level of transport to assure error free message is received and in the same order as send by the sender.
Both TCP and IP has two main protocol:TCP(connection service) and UDM(Connection-less service).
Answer:
Explanation:
IP is connectionless and TCP is connection oriented. In any case, TCP is a transport layer protocol and TCP would deal with congestion control and order of delivery, reliable delivery, same connection oriented means here. It would simply ensure that packets are being transmitted between two processes. It couldn't care less which way the packet pursues as transport layer does not manage routes and paths. Basically, internet protocol does this job.
IP is connection less and it implies that it might forward packets on various paths or routes on basis of accessibility and blockage. It is worried about information delivery between end frameworks. It treats every packet differently and does not mind whether the packet arrive at the destination or not.
For dependable delivery here TCP will take care, if the packet isn't recognized to TCP, it will retransmit the packet.
Give me a chance to give you a model in nontechnical terms.
You put in a order on the web, and you live in a palce where there is no legitimate transport or streets.
But, the parcel/courier service organization conveys your bundle.
Here, the bundle/dispatch service resembles a TCP, and the street/transport framework to your place is an IP.
The upper layer of OSI (TCP) relies upon the services given by the lower layers (IP).
The lower layer of OSI (IP) relies upon the upper layers (TCP) for ensured conveyance of information.
Here and there, both TCP and IP cooperate in conquering the clogged networks, similar to the ECN flags in IP header.