Content deleted Content added
→Description: caps fix |
copyedit, refactor, provide more context |
||
Line 1:
The '''Parallel Line Internet Protocol''' ('''PLIP''') is
a [[personal computer]] [[parallel port]] via a [[laplink cable|null-printer cable]], sometimes called a [[LapLink cable]]. It is the analogous to what [[SLIP]] is for serial ports and null-modem cables, but allows transfer of four bits at times rather than one, and generally works at higher [[bitrate|speed]]s. The method is based on the "Crynwr" standard devised by [[Russ Nelson]].▼
The Parallel Line Internet Protocol provides [[Link Layer]] services for the [[Internet Protocol]], the protocol used for forming small [[local area network]]s and large computer networks, such as the [[Internet]], enabling computers without standard dedicated networking hardware, such as [[Ethernet]], but with older parallel port devices, to communicate.
==
The [[Internet Protocol Suite]] is the standards-based networking model and software specification for forming small and large computer networks, from local area networks to global communication systems, such as the Internet. It is usually implemented by software and hardware features that use [[Ethernet]] network interface cards, cabling, and networking switches or hubs.
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 [[Truth value|logical values]] at these pins can be read and written directly by the software via an I/O instruction. ▼
Early [[personal computer]]s did not have Ethernet hardware included in their design and bus adapters were initially expensive. A solution to was to use the, at the time, standard [[parallel port]], typically used for connection to a printer or similar output device. The ports on two computers are connected with a so-called null-printer cable, sometimes called a [[LapLink cable]].
Note that the method does NOT connect the bidirectional data lines from the two devices together, to avoid both lines being active at the same time. The status lines ERROR, SLCT, PAPOUT, ACK and BUSY on one device are connected to data pins d0 through d4 respectively on the other.▼
▲The
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 toggles 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:▼
▲Transmission of a [[byte]] is
<pre>
t->r lines r->s lines operation
Line 20 ⟶ 23:
10010 1xxxx receiver toggle ACK line
transmitter detects toggle
</pre>
When the transmitter detects the toggle, this procedure is repeated for the next nibble.
*packet length: 2 bytes, [[little endian]]
*ethernet header (mostly used for backward compatibility)
Line 30 ⟶ 32:
*checksum: 1 byte, sum modulo 256 of bytes in the packet
The length and checksum are calculated over the second and third field only, so that
==Similar methods==
▲
Ethernet may also be used as a direct computer-to-computer communications method using an [[Ethernet crossover cable]].
Other [[Point-to-point link|point-to-point]] connections, such as [[USB]] host-to-host bridges or cables are also used to transfer files between two computers where a network is not necessary or available.
==See also==
*PPP [[Point-to-Point Protocol]]
*[[Direct cable connection]]
|