Re: Twisted vs Python Sockets

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fredrik Lundh

    Re: Twisted vs Python Sockets

    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:



    Regular sockets are, well, regular sockets. No more, no less.

    </F>

  • Michael Palmer

    #2
    Re: Twisted vs Python Sockets

    On Sep 18, 4:24 pm, Fredrik Lundh <fred...@python ware.comwrote:
    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:
    >

    >
    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.

    Comment

    Working...