On Tue, Nov 11, 2008 at 06:11:44PM +1100, Robbie wrote:
> Whats the difference between a gnutella header and a gnutella message?
> Is there any?
> 
> If there is, how is http involved? Is it just used for connecting, uploading
> and downloading or is it used for
> everything else as well?

HTTP is used for file upload/download. All the search
propagation/network stuff is handled by the Gnutella protocol
messages.

I suggest you read up on the protocol first:

http://wiki.limewire.org/index.php?title=GDF

> 
> Whats a safe, harmless header/message (both a header and message if theyre
> different) that I can send at any time in an existing gnutella connection,
> to a gnutella servent so that I can test my header/message sending
> abilities? Im going to connect with gtk-gnutella and have its source code
> send the header/message to the node.

I suggest you best option is to run a mini-network of white listed
servants before you start letting messages out into the wild. Other
clients may well start banning your IP address 

> 
> I have found the gnutella_node object as well as the gnutella_socket, and I
> can get a file descriptor for that
> socket. I tried to send() an X-Alt header in ascii text (as defined in the
> huge specification) to the file descriptor and the remote host disconnected
> me (I was assuming that might be a safe header to send).
> 
> Anybody know where the function in gnutella is to send a header object or do
> you just manually write to the socket's file descriptor? gtk-gnutella doesnt
> have much documentation.
> 
> Regards,
> Robbie

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gtk-gnutella-devel mailing list
> gtk-gnutella-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel


-- 
Alex, homepage: http://www.bennee.com/~alex/
Paradise is exactly like where you are right now ... only much, much better.
                -- Laurie Anderson

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to