Which system call is used to listen for incoming connections on a socket?
Which system call is used to listen for incoming connections on a socket?
A . accept()
B . receive()
C . connect()
D . listen()
Answer: D
Explanation:
The listen() system call is used to listen for incoming connections on a socket in network socket programming.
Latest CLP-12-01 Practice Questions with 160 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments