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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments