Quiz 8

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which of the following statements about socket programming is not correct?

A socket descriptor can be used with every function that accepts a file descriptor argument.

Which of the following statements about socket programming (address byte ordering) is not correct?

For a 32-bit integer with the value 0x04030201, the most significant byte is 0x01, and the least significant byte is 0x04 for little-endian byte order.

Which of the following is part of the syntax of a protocol (e.g., TCP/IP):

Its packet format

Which of the following statements about socket is not correct?

Many of the functions with file descriptors (e.g., read or write) will not work with a socket descriptor.

Which of the following is common to both TCP and UDP:

Port-to-port communication

As a data unit moves up from one protocol layer to another (e.g., for TCP/IP), control headers are:

Removed

A protocol architecture (e.g., TCP/IP) performs a task by implementing it as:

Separate program modules, responsible for subtasks, that cooperate with each other

___ allows processes running on different computers (connected to a common network) to communicate with one another.

Socket

Which of the following statements about socket programming (out-of-band) is not correct?

TCP and UPD support out-of-band data.

Which of the following is an application layer protocol (e.g., in TCP/IP model).

Telnet

Which of the following is a transport layer protocol (TCP):

UDP

Which of the following statements about socket programming (nonblocking & asynchronous IO) is not correct?

When the socket is in blocking mode, the poll or select functions should be used to send or receive data.

Which of the following statements about socket programming (socket descriptor) is not correct?

to receive packets from multiple clients, one must have at least one socket connection per each client.

The single most important motive for the new IPv6 protocol is:

Address space expansion

In a layered protocol architecture (e.g., TCP/IP), a benefit and rationale for a module at one layer relying on another module at the layer below for some service is: The lower-layer module can extend its service to multiple modules at the higher layer If called for, transparent to the higher-layer module, the lower-layer module can be replaced The higher-layer module can dispense with coding the logic for that service All of the above

All of the above

Which of the following is an application layer program designed to run on top of TCP: TELNET File Transfer Protocol (FTP) Simple Mail Transfer Program (SMTP) All of the above

All of the above

Which of the following terms is used to denote units of data being transmitted: Segment Datagram Frame All of the above

All of the above

Which of the following statements about socket programming (accept function) is not correct?

accept provides non-blocking socket.


Set pelajaran terkait

Understanding Business Chapter 7

View Set

Statistical and Non-Statistical Questions

View Set