[Twisted-Python] Bad inconsistency with buildProtocol

Pavel Pergamenshchik pp64 at cornell.edu
Wed Jun 18 22:18:33 MDT 2003


It looks like buildProtocol gets passed inconsistent values for addr. In a program that connects to itself:
pahan at dunce:~/Twisted$ python echo.py
EchoServerFactory from ('127.0.0.1', 43044)
EchoClientFactory to ('INET', 'localhost', 8000)

For incoming connections, addr gets passed straight from <socketobj>.accept, which is not in the proper format.




More information about the Twisted-Python mailing list