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.

Latest CLP-12-01 Practice Questions with 160 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments