Connection less protocol:
These protocols do not establish a connection between devices. It is manually achieved by transmitting information in one direction, from source to destination without checking to see if the destination is still there or if it is prepared to receive the information.
Connection-oriented protocol:
It means that when devices communication they perform hand sharing to set up on end to end connection. Usually one device begins by sending a request to open a connection, and the other responds.
Connectionless protocols:
1) IP
2) ICMP
3) UDP
1. IP
IP is internet Protocol.
It is unreliable protocol because it does not provide any error control and flow control.
Packets in IP are called “Datagram”
2. ICMP
It is internet control message protocol.
It reports error and sends control messages.
Error reporting messages include – destination unreachable, source quench , time exceed, parameter problem , redirection etc.
Query message includes –echo request and reply, time stamp request and reply, router solicitation and advertisement. etc
3.UDP
UDP is user datagram protocol.
It is connectionless protocol because data is sent without establishing a connection between sender and receiver before sending the data.
UDP is unreliable because data is delivered without acknowledgement.
UDP does not perform Auto retransmission.
UDP does not use flow control.
UDP has high transmission speed.
Connection oriented protocol: 1) TCP 2) SLIP 3) PPP 4) SMTP
1) TCP
TCP is transmission control protocol.
It is connection oriented protocol because connection must be establish prior to transmission of data.
TCP is reliable protocol because data is delivered with acknowledgement.
TCP perform Auto Retransmission if the data is lost.
TCP use flow control.
TCP has low speed of transmission.
2. SLIP
SLIP is serial line internet protocol
SLIP does not perform error detection and correction.
SLIP does not provide any authentication.
SLIP is not approved internet standard.
SLIP supports only Internet protocol (IP)
SLIP supports static IP address assignment
3. PPP
PPP is point to point protocol.
PPP perform error detection
PPP provides authentication and security.
PPP is approved internet standard.
PPP supports IP and other protocols.
PPP supports Dynamic IP address assignment
4. SMTP
SMTP is simple mail transfer protocol.
It is connection oriented text based protocol in which sender communicates with receiver using a command and supplying data over reliable TCP connection.
SMTP is standard application layer protocol for delivery of email over TCP/IP network.
SMTP establish a TCP connection between Sender And port number 25 of receiver