What is the purpose of the function socket() in network socket programming?

What is the purpose of the function socket() in network socket programming?
A . To establish a connection with a remote server
B . To create a new socket
C . To send data over the network
D . To bind a socket to a specific network address

Answer: B

Explanation:

The function socket() is used to create a new socket in network 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