Examen 2 P2 Flashcards
Message passing between a pair of processes can be supported by two message communication
operations:
Send and receive operations
In this form of communication, the use of the send operation is non-blocking, the receive operation can
have blocking and non-blocking variants
the asynchronous communication
We can describe this as the guaranteed to be deliver the message despite a reasonable number of
packets being dropped or lost.
Reliability
Both forms of communication (UDP and TCP) use _________, which provides an endpoint for
communication between processes
the socket abstraction
In this form of communication, the sending and receiving processes synchronize at every message. In
this case, both send and receive are blocking operations.
the synchronous communication
Any process may make use of multiple of this elements to receive messages, but a process cannot share
them with other processes on the same computer
Ports
The internet protocols, and the local port pairs define the:
Message destination
This consist of transmitting a message between a socket in one process and a socket in another process.
Interprocess communication
is sent by UDP is transmitted from a sending process to a receive process without acknowledgement or
retries.
A datagram
Messages may be dropped occasionally, either because of a checksum error or because no buffer space
is available at the source or destination is’s called:
Omission failure
This defines reliable communication in terms of two properties: integrity and validity.
Failure model
This was oeiginated from BSD 4.x UNIX, provides the abstraction of a stream of bytes to which data may
be written and from which data may be read.
The API to the TCP protocol
This assume that when a pair of processes are establishing a connection, one of them plays the client
role and another plays the server role, but thereafter they could be peers.
The API for stream communication
The TCP protocol attempts to match the speeds of the processes that read from and write to a stream,
this is called:
Flow control
These items transmitted in messages can be data values of many different types, and not all computers
store primitive values such as integers in the same order.
The individual primitive data