original_docstring: 
          Generate connections by binding on and listening to a server socket
          on 'port' (and 'host', which should probably be "" to allow all incoming
          connections).
          
docstring: Generate connections by binding on and listening to a server socket
  on 'port' (and 'host', which should probably be "" to allow all incoming
  connections).
docstring_tokens: Generate connections by binding on and listening to a server socket on ' port ' ( and ' host ' which should probably be " " to allow all incoming connections ) .
code: def iter_listen(host, port):
          """
          Generate connections by binding on and listening to a server socket
          on 'port' (and 'host', which should probably be "" to allow all incoming
          connections).
          """
          ssock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          ssock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
          ssock.bind((host, port))
          ssock.listen()
          while True:
              sock, address = ssock.accept()
              yield Connection(sock), address
code_tokens: def iter_listen ( host , port ) : ssock = socket . socket ( socket . AF_INET , socket . SOCK_STREAM ) ssock . setsockopt ( socket . SOL_SOCKET , socket . SO_REUSEADDR , 1 ) ssock . bind ( ( host , port ) ) ssock . listen ( ) while True : sock , address = ssock . accept ( ) yield Connection ( sock ) , address
short_docstring: Generate connections by binding on and listening to a server socket
  on 'port' (and 'host', which should probably be "" to allow all incoming
  connections).
short_docstring_tokens: Generate connections by binding on and listening to a server socket on ' port ' ( and ' host ' which should probably be " " to allow all incoming connections ) .
comment: """
          Generate connections by binding on and listening to a server socket
          on 'port' (and 'host', which should probably be "" to allow all incoming
          connections).
          """