Re: Re: Implementing a Gnutella-structured network only with basic HTTP possible?Date: Wed, 24 Feb 2010 09:08:15 +0000 (UTC)Date: Fri, 26 Feb 2010 12:55:15 +0000 (UTC)Date: Fri, 26 Feb 2010 19:44:11 +0000 (UTC)
Arne Babenhauserheide <[email protected]> Sat, 27 Feb 2010 00:34:59 +0100
| Newsgroups | gmane.network.gnutella.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Freitag, 26. Februar 2010 20:44:13 schrieb [email protected]: > Arne, I have good news for you... -snip- > What you write above is a scripting language on top of a p2p engine. With > little work, there's nothing that prevents it from being done TODAY (no > need to wait for Gnutella 3.0). That's because I wrote it in reply to “what can we do to encourage people to join developing the current programs” :) The HTTP POST model was about “how can we get more people to write Gnutella- like programs”. > You're welcome to try to do it for Phex first. But be careful, it must > be an API that hooks up to the core through a socket and then communicates > with the Gnutella servent using a command text interface (i.e. no cheating > by using internal data structures, otherwise your interface will not be > portable accross servents). Wouldn't it be easiest to use http requests, given that all Gnutella servents already have to have code to interpret these? Do the servents also implement POST (for more complex requests) or only GET? > For instance, in gtk-gnutella you can say today, from your shell: > > $ echo download add magnet:...... | gtk-gnutella --shell > $ echo rescan | gtk-gnutella --shell > $ echo stats | gtk-gnutella --shell | grep ^dht_estim I didn't know that - That's darn cool! I can't promise anything, though. My free time is usually quite bursty… Best wishes, Arne [Non-text portions of this message have been removed]