[Twisted-Python] Network newbie

Alexandre Quessy alexandre at quessy.net
Thu Apr 8 08:52:01 EDT 2010


Hello Brian,
You can start with one server and one client on each side.
If privacy is not a concern for your application, you don't need to
encrypt the data over SSL.

The easiest to use is a basic LineReceiver and a line sender. Next,
you can use JSON if you want to send more than text.
Look at the examples !

TIP: The sender might tell the other peer on which port its receiver
is listening.

a

2010/4/8 Glyph Lefkowitz <glyph at twistedmatrix.com>:
>
> On Apr 7, 2010, at 6:35 PM, Reza Lotun wrote:
>
> Here's one of many solutions: get one or more publicly available
> servers, and stick some XMPP software (twisted.words, Punjab,
> ejabberd, whatever). Turn on SSL. Now you have a secure, centralized
> communications system.
>
> Another solution, if you want to go down the "real P2P" route, is to start
> maintaining Divmod Vertex <http://divmod.org/trac/wiki/DivmodVertex> - it's
> a pretty good proof of concept, and solves many of the really hard problems
> (especially NAT traversal), but it will definitely need to be fixed up if
> you want to deploy it in a real-world application.
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>



-- 
Alexandre Quessy
http://alexandre.quessy.net/



More information about the Twisted-Python mailing list