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.
Latest CLP-12-01 Practice Questions with 160 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments