pk man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

PK(4)									 PK(4)

NAME
       pk - packet driver

DESCRIPTION
       The  packet  driver  implements	a  full-duplex end-to-end flow control
       strategy for machine-to-machine communication.  Packet driver  protocol
       is established by calling pkon(2) with a character device file descrip‐
       tor and a desired packet size in bytes.	The  packet  size  must	 be  a
       power  of 2, 32≤size≤4096.  The file descriptor must represent an 8-bit
       data path.  This is normally obtained by	 setting  the  device  in  raw
       mode (see ioctl(2)).

       The  actual  packet  size, which may be smaller than the desired packet
       size, is arrived at by negotiation with the packet driver at the remote
       end of the data link.

       The  packet  driver  maintains two data areas for incoming and outgoing
       packets.	 The output area is  needed  to	 implement  retransmission  on
       errors, and arriving packets are queued in the input area.  Data arriv‐
       ing for a file not open for reading is discarded.  Initially  the  size
       of both areas is set to two packets.

       It  is  not  necessary that reads and writes be multiples of the packet
       size although there is less system overhead if they are.	  Read	opera‐
       tions  return  the maximum amount of data available from the input area
       up to the number of bytes specified in the  system  call.   The	buffer
       sizes in write operations are not normally transmitted across the link.
       However, writes of zero length are treated specially and are  reflected
       at  the remote end as a zero-length read.  This facilitates marking the
       serial byte stream, usually for delimiting files.

       When one side of a packet driver link is shut down by close(2)or	 pkoff
       (see  pkon(2)),	read(2)	 on the other side will return 0, and write on
       the other side will raise a SIGPIPE signal.

SEE ALSO
       pkon(2), pkopen(3)

				     local				 PK(4)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net