The Parallel Line Internet Protocol (PLIP) is a
computer network
A computer network is a set of computers sharing resources located on or provided by network nodes. The computers use common communication protocols over digital interconnections to communicate with each other. These interconnections ar ...
ing
protocol for direct computer-to-computer communications using the
parallel port normally used for connections to a printer.
The Parallel Line Internet Protocol provides
link layer services for the
Internet Protocol
The Internet Protocol (IP) is the network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
...
, the protocol used for forming small
local area network
A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, school, laboratory, university campus or office building. By contrast, a wide area network (WAN) not only covers a larger ...
s and large computer networks, such as the
Internet
The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a ''internetworking, network of networks'' that consists ...
, enabling computers without standard dedicated networking hardware, such as
Ethernet
Ethernet () is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in ...
, but with older parallel port devices, to communicate.
Operation
The
Internet Protocol Suite
The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the set of communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the sui ...
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
Ethernet () is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in ...
network interface cards, cabling, and networking switches or hubs.
Early
personal computer
A personal computer (PC) is a multi-purpose microcomputer whose size, capabilities, and price make it feasible for individual use. Personal computers are intended to be operated directly by an end user, rather than by a computer expert or tech ...
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.
The laplink cable connects five output pins of a parallel port to five input pins on the opposing port, for each direction. Due to the lack of an internal timing in the parallel ports, synchronization is implemented via software handshaking: four of the five pins are used for data transfer and one is used for synchronization. The
logical values at these pins are read and written directly by the software via an input or output instruction.
This method does not connect the bidirectional data lines of the two devices, in order 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.
Transmission of a
byte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit ...
is accomplished by dividing it into two
nibble
In computing, a nibble (occasionally nybble, nyble, or nybl to match the spelling of byte) is a four-bit aggregation, or half an octet. It is also known as half-byte or tetrade. In a networking or telecommunication context, the nibble is ofte ...
s of four bits each. Each nibble is transmitted by 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 may be sent. Both hosts use a toggle on their acknowledge lines to indicate that the read or write operation has been performed. As a result, each host has to wait for a toggle from the other host before proceeding with a new operation.
As an example, the transfer of nibble proceeds as follows:
t->r lines r->s lines operation
00010 0xxxx transmitter sets data lines to 0010
10010 0xxxx transmitter toggle ACK line
receiver detects toggle and reads 0010
10010 1xxxx receiver toggle ACK line
transmitter detects toggle
When the transmitter detects the toggle, this procedure is repeated for the next nibble.
Internet Protocol
The Internet Protocol (IP) is the network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
...
packets are sent over the line after encapsulating them into PLIP packets before transmission over the line. The encapsulated packet has the following structure:
*packet length: 2 bytes,
little endian
In computing, endianness, also known as byte sex, is the order or sequence of bytes of a word of digital data in computer memory. Endianness is primarily expressed as big-endian (BE) or little-endian (LE). A big-endian system stores the most si ...
*ethernet header (mostly used for backward compatibility)
*the IP packet
*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 the actual total length of the packet is three more than the length as reported in the first two bytes of the packet.
Similar methods
An analogous feature for serial communications ports is the
Serial Line Internet Protocol
The Serial Line Internet Protocol (SLIP) is an encapsulation of the Internet Protocol designed to work over serial ports and router connections. It is documented in . On personal computers, SLIP has largely been replaced by the Point-to-Point ...
(SLIP), using null-modem cables, but allows transfer of four bits at a time rather than one. It generally works at higher
bitrate
In telecommunications and computing, bit rate (bitrate or as a variable ''R'') is the number of bits that are conveyed or processed per unit of time.
The bit rate is expressed in the unit bit per second (symbol: bit/s), often in conjunction w ...
s. The method is based on the "Crynwr" standard devised by
Russ Nelson
Russell Nelson (born March 21, 1958) is an American computer programmer. He was a founding board member of the Open Source Initiative and briefly served as its president in 2005.
Career
Nelson wrote code for some programs: In 1983, he co-wrote ...
.
Ethernet may also be used as a direct computer-to-computer communications method using an
Ethernet crossover cable
An Ethernet crossover cable is a crossover cable for Ethernet used to connect computing devices together directly. It is most often used to connect two devices of the same type, e.g. two computers (via their network interface controllers) or two ...
.
Other
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
*
Serial Line Internet Protocol
The Serial Line Internet Protocol (SLIP) is an encapsulation of the Internet Protocol designed to work over serial ports and router connections. It is documented in . On personal computers, SLIP has largely been replaced by the Point-to-Point ...
(SLIP)
References
{{reflist
External links
PLIP explanationPLIP install how-toby Alessandro Rubini
Internet protocols
Link protocols