Twisted vs Python Sockets
Michael Palmer
m_palmer45 at yahoo.ca
Fri Sep 19 10:25:06 EDT 2008
On Sep 18, 4:24 pm, Fredrik Lundh <fred... at pythonware.com> wrote:
> James Matthews wrote:
> > I am wondering what are the major points of twisted over regular python
> > sockets. I am looking to write a TCP server and want to know the pros
> > can cons of using one over the other.
>
> Twisted is a communication framework with lots of ready-made components:
>
> http://twistedmatrix.com/trac/wiki/TwistedAdvantage
>
> Regular sockets are, well, regular sockets. No more, no less.
>
> </F>
Depends on what you want your TCP server to do. Just to mention it,
there is module SocketServer in the standard library that already
contains various server classes, including a TCP server.
More information about the Python-list
mailing list