Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
listen(backlog)

Enable a server to accept connections.  The backlog argument must be at
least 0 (if it is lower, it is set to 0); it specifies the number of
unaccepted connections that the system will allow before refusing new
connections.

src/m/c/mcandre-HEAD/python/net/rot13echoserver.py   mcandre(Download)
 
  print("listening for connections")
  server.listen(5) # permits 5 threaded connections
  listening = True