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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments