ok after some talking etc etc
[] = optional
--- = seperator, in between lines are \r\n seperated
... = repeat
client:
---
CONNECT GNUTELLA/0.7
User-Agent: FastFinder 3.4
ultrapeer: 0.1, 0.2
Gnutella: 0.7
[more header-information]
---
server:
---
GNUTELLA/0.7 OK All dandy and fine nice mister client
User-Agent: Peerhana 0.5
ultrapeer: 0.2
ultrapeer: 0.3
Gnutella: 0.7, 0.8, 0.9
[more header-information]
---
<binary data starts>
As you can see header fields are used to tag _all_ allowed extensions. The extensions that are common are automatically activated.
header fields are build up as the following:
<name> : <content>
<name> = <string>
<content> = <string [,<string>...]
<string> = array of characters not containing special characters like \r\n : , etc.
This allows for shorter headers as version numbers can be put on 1 line
Tam
Last edited by Tamama; January 4th, 2002 at 03:53 PM.
|