View Single Post
  #1 (permalink)  
Old November 11th, 2008
AussieGuy AussieGuy is offline
Apprentice
 
Join Date: October 16th, 2008
Posts: 5
AussieGuy is flying high
Default Starting gtk-gnutella development

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?

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 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.
Reply With Quote