Skip to main content

Notation

We have no standard notation for describing system calls which initiate and close connections or cause data to be sent, so I will use the following ad hoc notation.

Init​

Init (local = l, foreign = f, size = s)

causes the local Host to attempt to establish a connection between socket l at the local Host and socket f, with a byte size of s for the connection.

  • l is a 32 bit local socket number,
  • f is a 40 bit foreign socket number, the high-order eight bits of which specify the foreign Host, and
  • s is an eight bit non-zero byte size.

The sum of l and f must be odd.

Listen​

Listen (local = l, size = s)

causes the local Host to wait for a request for connection to local socket l with byte size s. The process will be woken when a connection is established. The parameters l and s are the same as for Init.

Send​

Send (socket = l, data = d)

The data named by d is sent over the connection attached to local socket l. l must be a send socket attached to a connection. d is the name of a data area.

Receive​

Receive (socket = l, data = d)

The receive side counterpart to send.

Close​

Close (socket = l)

Any connection currently attached to a local socket l is closed.