How does a pipe server for a named pipe support communication with multiple clients?
a) All clients and the pipe server connect to the same pipe object and each client specifies its mode (read, write or duplex).
b) The server creates a separate instance of the pipe for each client so that each client can communicate only with the server (and not other clients). The server must use the same mode for each instance of the pipe.
c) All clients and the pipe server connect to the same pipe object. However, all of the clients must have a mode compatible with that of the pipe server. For example, if the pipe server uses read mode, all clients must use write mode.
d) The server creates a separate instance of the pipe for each client so that each client can communicate only with the server (and not other clients). The server can specify different modes for each instance of the pipe.
b) The server creates a separate instance of the pipe for each client so that each client can communicate only with the server (and not other clients). The server must use the same mode for each instance of the pipe.
You might also like to view...
Hackers are intelligent individuals with excellent computer skills—with the ability to create and explore the computer's software and hardware.
a. true b. false
Which of the following statements is false?
a. By default a ListView supports multiple selection—many items at a time may be selected. ListViews also support single selection. b. The type of selection is managed by the ListView’s MultipleSe-lectionModel (a subclass of SelectionModel from package ja-vafx.scene.control), which contains observable properties and various methods for manipulating the corresponding ListView’s items. c. To respond to selection changes, you register a listener for the MultipleSelectionModel’s selectedItem property (lines 41–43). d. ListView method getSelectionModel returns a MultipleSe-lectionModel object.