[Twisted-web] Give me your hello-world sample a and I'll do the rest (TwistedMatrix newbie)

glyph at divmod.com glyph at divmod.com
Mon Nov 3 07:55:06 EST 2008


On 12:17 pm, tzury.by at gmail.com wrote:
>Sorry for previous messages - are been encrypted unintentionally by a
>firefox gpg plug-in

They didn't look encrypted, but there sure were a lot of them :).
>I am writing an application which transfer data between clients which 
>are
>connected to a server using either UDP or TCP.

You're certainly in the right place with regard to Twisted itself - 
although this might not be the right list.  If you're dealing with UDP 
and non-HTTP TCP traffic, you probably want twisted- 
python at twistedmatrix.com, not twisted-web.
>After making some progress in the development, I realized that I would 
>be
>better off using TwistedMatrix instead of re-inventing the wheel.

I wish more people reached that conclusion :-).
>So I looked at
>http://twistedmatrix.com/projects/core/documentation/howto/index.html 
>and
>could not get the information from the samples.

>I would be glad if one can draw the lines of how to get a bytes stream 
>from
>client A and 'transmit' it to client B

Your question is actually a FAQ. 
http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#HowdoImakeinputononeconnectionresultinoutputonanother

Please let us know if the answer to the FAQ could be improved or made 
easier to find somehow.



More information about the Twisted-web mailing list