What is the purpose of the "connect" function in socket programming?
What is the purpose of the "connect" function in socket programming?
A . To accept incoming connections
B . To close a connection
C . To send data to a server
D . To establish a connection with a remote host
Answer: D
Explanation:
The "connect" function in socket programming is used to establish a connection with a remote host.
Latest CLP-12-01 Practice Questions with 160 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments