Which function is used to accept a connection from a client in socket programming?

Which function is used to accept a connection from a client in socket programming?
A . recv()
B . send()
C . connect()
D . accept()

Answer: D

Explanation:

The "accept" function is used to accept a connection from a client in socket programming.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments