socket.listen changes a bound TCP socket into a listening endpoint for incoming connection requests. The server then calls accept to obtain a separate connection socket for communicating with each client. section 3.1
Listening for a client
A blocking server creates an IPv4 TCP socket, binds it to 127.0.0.1:8000, calls listen(), and waits at accept() for a client connection. section 3.1
