On Tue, 27 Mar 2001, [windows-1252] "Mucs, B�la" wrote:

> these are very good ideas. Within our company there is a large pressure to
> recognize the gnutella protocol.You may want to include it in your design. 

http://gnutelladev.wego.com/go/wego.pages.page?groupId=139406&view=page&folderId=145203&pageId=145249

"After making the initial connection to the server, you must
handshake. Currently, the handshake is very simple. The connecting client
says:

GNUTELLA CONNECT/0.4\n\n

The accepting server responds:

GNUTELLA OK\n\n
After that, it's all data."

If you come upon the connection after it has been opened, you will need to
look for the Server: header in a transaction.

"The server will respond with normal HTTP headers. For example: 

HTTP 200 OK\r\n
Server: Gnutella\r\n
Content-type:application/binary\r\n
Content-length: 948\r\n
\r\n
"

If you want to get trickier, you'll have to read the description of the
protocol at the URL above.

----
Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska
"Confucious say: Mind like parachute.  Only function when open."

Reply via email to