What does the function accept () do in network socket programming?

What does the function accept () do in network socket programming?
A . Listens for incoming connections
B . Establishes a connection with a server
C . Sends data to a client
D . Accepts a connection request and creates a new socket for communication

Answer: D

Explanation:

The accept () function accepts a connection request and creates a new socket for communication in network socket programming.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments