I saw an example of using the socket module in python and I saw a line of code like this:
s.listen(5)
What does the 5 mean? Google doesn’t have an answer.
I saw an example of using the socket module in python and I saw a line of code like this:
s.listen(5)
What does the 5 mean? Google doesn’t have an answer.
listen() marks the socket referred to by sockfd as a passive socket, that is, as a socket that will be used to accept incoming connection requests using accept(2)