[Twisted-Python] P2P Discovery

Hi Guys I've got a basic UDP broadcaster working now to inform other P2P clients. This obviously only works on the local segment. Any suggestions how I could broadcast outside the segment. Multicast in python seems quite clunky and unreliable ? Regs /marinus Important Notice: This email is subject to important restrictions, qualifications and disclaimers ("the Disclaimer") that must be accessed and read by visiting our website and viewing the webpage at the following address: http://www.deloitte.com/za/disclaimer. The Disclaimer is deemed to form part of the content of this email in terms of Section 11 of the Electronic Communications and Transactions Act, 25 of 2002. If you cannot access the Disclaimer, please obtain a copy thereof from us by sending an email to ClientServiceCentre@Deloitte.co.za.

On Thu, 28 Apr 2005 12:27:59 +0200, "van Aswegen, Marinus \(ZA - Johannesburg\)" <mvanaswegen@deloitte.co.za> wrote:
Hi Guys
I've got a basic UDP broadcaster working now to inform other P2P clients. This obviously only works on the local segment. Any suggestions how I could broadcast outside the segment. Multicast in python seems quite clunky and unreliable ?
If by "segment" you mean "local area network", I don't think you're going to have much luck. Most routers do not pass broadcast traffic (and for good reason - think about what would happen any time anyone pinged the broadcast address!). Multicast is unreliable and clunky in Python because it is unreliable and clunky period. Network support for it is sketchy at best, so you cannot generally use it except under very special conditions. In short, you cannot use UDP or multicast for service discovery over the internet at large. Jp

van Aswegen, Marinus (ZA - Johannesburg) wrote:
I've got a basic UDP broadcaster working now to inform other P2P clients. This obviously only works on the local segment. Any suggestions how I could broadcast outside the segment. Multicast in python seems quite clunky and unreliable ?
If you look at the P2P systems out there, none of them discover each other. You have to give them a starting node, which knows about other nodes, etc.
participants (3)
-
Jp Calderone
-
Ken Kinder
-
van Aswegen, Marinus (ZA - Johannesburg)