Socket communications

Will Stuyvesant hwlgw at hotmail.com
Fri Jan 17 10:57:51 EST 2003


[Jp Calderone]
> Twisted makes implementing this kind of protocol trivial.
> 
> (Untested code)
> ...

Posting untested code is a demonstration of how much confidence you
have in the modules you use.  But your example could use some
explanations....like what does ``reactor`` do, and how about
``protocol``.
Another thing is that on first sight your code is going to crash on an
"unknown identifier ``port``" error but that one should be just an
integer for the port number I guess.


'''
A large number of installed systems work by fiat.  That is, they work
by being declared to work.
                -- Anatol Holt
'''




More information about the Python-list mailing list