Thread: Descriptor Help
View Single Post
  #4 (permalink)  
Old August 22nd, 2001
Ahri Ahri is offline
Devotee
 
Join Date: May 20th, 2001
Posts: 22
Ahri is flying high
Default

I got v0.4 protocal specs.

I figured out the answer to my question this morning. What happens is VB automatically takes the binary info. and converts it to ASCII text. I wanted to know how to convert it back into its original form. I figured it out after lots of thinking and trial and error (took me a while though).

But, I'm still haveing problems. How is text supposed to be encode over the gnutella net? The only thing I get that seems to be ASCII encoded is "GNUTELLA CONNECT/0.4\n\n" and "GNUTELLA OK\n\n". Descriptor IDs appear as that googly junk. And how to i decied what to make the descriptor IDs, and what character set to I encode them with?(their supposed to be text)

Also, the lengths in bytes of the incomming data does not always equal 23 + the payload length. The extra data is almost always less than 23 bytes. What's going on?

Last edited by Ahri; August 22nd, 2001 at 03:43 PM.
Reply With Quote