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

What is the function of the bind() function in network socket programming?
A . To send data from a server to a client
B . To close a socket connection
C . To associate a socket with a specific network address
D . To connect a client to a server

Answer: C

Explanation:

The bind() function is used to associate a socket with a specific network address in network socket programming.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments