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

Match List I with List II (Berkeley socket primitives).
Choose the correct answer from the options given below:
List IList II
A. BINDI. Block the caller until a connection attempt arrives
B. LISTENII. Give a local address to a socket
C. ACCEPTIII. Show willingness to accept connections
D. SOCKETIV. 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

BIND gives a local address, LISTEN announces willingness to accept, ACCEPT blocks until a connection arrives, and SOCKET creates a new endpoint.

More Data Communication and Computer Networks questions