[Twisted-Python] Twisted P2P
bob at redivi.com
Fri Apr 22 13:36:19 EDT 2005
On Apr 22, 2005, at 5:06 AM, Andrew Bennetts wrote:
> On Fri, Apr 22, 2005 at 10:46:05AM +0200, van Aswegen, Marinus (ZA -
> Johannesburg) wrote:
>> I need some advice before I start hacking about with socket,
>> SocketServer and twisted. I'm planning to write a LAN P2P program
>> make it easy to share files on the LAN. I'm planning to make it
>> platform win / unix. Each P2P client will advertise using UDP
>> that they are out there. If a client wants to send a file or files
>> will connect TCP to the client and request auth. Upon auth it will
>> the files using TCP. I would like the each P2P client to be able
>> handle multiple connections (send + rec).
>> Suggestions, pointers, help appreciated.
> Sounds well suited to Twisted.
> Feel free to ask specific questions if you get stuck on something. The
> tutorial and the writing servers and writing clients howtos should
> most of your questions, though:
> You might also find some of the examples to be interesting:
I don't think there are any examples, anywhere, of the multicast
support. I think there is some (unfinished?) mDNS code in Itamar's
sandbox, but that's complicated enough that it really doesn't serve as
a good example.
Other than that, I think the rest should be pretty straightforward.
More information about the Twisted-Python