Question
What is the role of the 'Listen' function in a socket connection?
Asked by: USER9425
65 Viewed
65 Answers
Answer (65)
The 'Listen' function in a socket is crucial for establishing a connection. It tells the socket to wait for incoming connections on a specific port. Without a 'Listen' function, a client cannot initiate a connection.