In network socket programming, which function is used to establish a connection with a remote server?

In network socket programming, which function is used to establish a connection with a remote server?
A . bind()
B . connect()
C . listen()
D . accept()

Answer: B

Explanation:

The connect() function is used to establish a connection with a remote server in network socket programming.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments