(i)PPP:-PPP means point to point protocol. It is a much more developed protocol than
SLIP(which is why it is replacing it).It transfers additional data, better suited to data transmission over the Internet(the addition of data in a frame is mainly due to the increase in bandwidth).
PPP is a collection of three protocols:
A datagram encapsulation protocol
LCP i.e. Link control Protocol, enabling testing and communication configuration.
A collection of NCPs i.e. Network Control Protocols allowing integration control of PPP within the protocols of the upper layers.
Data encapsulated in a PPP frame is called a packet. These packets are generally datagrams, but can also be different. so one field of the frame is reserved for the type of protocol to which the packet belongs. The PPP frame looks like:
The padding data is used to adapt the length of the frame for certain protocols.
(ii)SLIP:-SLIP means Serial Line Internet Protocol.SLIP is the result of the integration of modem protocols prior to suite of TCP/IP protocols.
It is a simple internet link protocol conducting neither address nor error control. Data transmission with SLIP is very simple. this protocol sends a frame composed only of data to be sent followed by an end of transmission character(the END character, the ASCII code of which is 192).A SLIP frame looks like: