Socks server and client code in Python (Twisted?)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ben Kial

    #1

    Socks server and client code in Python (Twisted?)

    I'd like to create a Socks (4 or 5) server and client program using
    Python. Someone suggested me to use Twisted. Does anybody have any
    sample code for Socks server and client in Python?

    Thanks in advance,

    Ben

  • MaR

    #2
    Re: Socks server and client code in Python (Twisted?)

    The answer may depend somewhat on whether your app is doing mostly
    storage (filessystem) or calculations (cpu).

    If you need to handle a fair number of sockets but do little
    processing, you may wish to look at the standard modules
    asyncore/asynchat.

    But Twisted is not a bad advice :o) Maybe a little more threshold to
    get started and you will have to co-deploy it with your app.

    Comment

    Working...