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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments