All mock tests are FREE till 31 December — register to save your progress

Match List I with List II. List I: (A) BIND, (B) LISTEN, (C) ACCEPT, (D) SOCKET. List II: (I) Block the caller until a connection attempt arrives, (II) Give a local address to a socket, (III) Show willingness to accept connections, (IV) Create a new end point.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. (A)-(II), (B)-(III), (C)-(I), (D)-(IV)

Explanation

SOCKET creates an endpoint; BIND attaches a local address; LISTEN announces willingness to accept connections; ACCEPT blocks until a connection arrives.

More Data Communication and Computer Networks questions