Parallel Line Internet Protocol: Difference between revisions

Content deleted Content added
m skip disamb
description of data transmisstion
Line 2:
 
The '''Parallel Line Internet Protocol''' ('''PLIP''') is an encapsulation of the [[Internet Protocol]] designed to work over
a [[personal computer]] [[parallel port]] via a [[laplink cable|null-printer cable]]. It is the analogous to what [[SLIP]] is for serial connectionsports and null-modem cablecables, but allows transfer of four bits at times rather than one, and generally works at higher [[bitrate|speed]]s.
 
For most uses PLIP has been replaced by increasingly-common [[Ethernet]] [[Protocol (computing)|protocol]] based [[computer network|networking]] support and [[Ethernet crossover cable|cross-cable]] setups –– or other [[Link (telecommunications)#Point-to-point|point-to-point]] connections such as an [[USB]] host-to-host bridge/cable –– used to transfer files between two computers where a network is not necessary or available.
 
==Description==
 
The [[laplink cable|null-printer cable]] connects five output pins of a parallel port to five input pins on the other port, and vice versa. Due to the lack of an internal timing in the parallel ports, synchronization is done via software handshaking: of the five input or output pins, four are used for data transfer and one is used for synchronization. The logical values at these pins can be read and written directly by the software via an io instruction.
 
Transmission of a byte is done by first breaking it into two [[nibble]]s of four bits each. Each nibble is then transmitted by first setting the four data lines according to the four nibble bits and then toggling the acknowledge line. This toggle indicates the receiving host that the nibble is ready to be read. Once the receiving host has read the nibble, it toggle its synchronization line to tell the transmitter that the nibble has been read and that a new one can be send. Both hosts use a toggle on their acknowledge lines to indicate that the operation (read or write) has been performed; as a result, each host has to wait for a toggle from the other host before proceeding with a new read or write.
 
As an example, the transfer of nibble <tt>0010</tt> is done as follows:
 
t->r lines r->s lines operation
00010 0xxxx transmistter sets data lines to 0010
10010 0xxxx transmistter toggle ack line
recevier detects toggle and reads 0010
10010 1xxxx recevier toggle ack line
transmistter detects toggle
 
When the transmistter detectes the toggle, this procedure is repeated for the next nibble.
 
==See also==