Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read

General Gnutella Development Discussion For general discussion about Gnutella development.


Welcome to Gnutella Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.



Once registered but before posting, members need to read the Forum Rules (click here) and LimeWire/FrostWire users should include System details - help us to help you (click on blue link) in their posts if their problem relates to using the program.

Thank you

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 18th, 2007
Junior Member
 

Join Date: November 18th, 2007
Posts: 4
helpfred is on a distinguished road
Default Gnutella1 simple simulator

Hi everyone,

I am new to this as you can probably tell. I was hoping to program a simple simulater that only does query and queryhit for ttl 3 and ttl4. I have two text files one with 100 network and with resources.

i was hoping to read in those files and get some results to be outputted on another files. i want to see the recalls and the network traffic so i can compare tt3 and ttl4 results. And i need to generate 1000 random queries with the node id and target resource.

Problem is i dont know how to start this and programming language to use. I know a bit of .net, and php but i just dont know how to start.

If anyone can provide me with some directions i will be greatful. Thank you in advance.
Reply With Quote
  #2 (permalink)  
Old November 19th, 2007
arne_bab's Avatar
Draketo, small dragon.
 

Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,447
arne_bab is on a distinguished road
Default

Sorry, simple isn't very easy...

You can try getting the Phex code and understanding it (Java-Code), but you'll need some time to get everything up.

First have a look at the how Gnutella works:
- Main Page - Gnufu - concepts explained
- Gnutella Protocol Specification - Gnutella Specification - exact specifications
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #3 (permalink)  
Old November 19th, 2007
arne_bab's Avatar
Draketo, small dragon.
 

Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,447
arne_bab is on a distinguished road
Default

Sorry, simple isn't very easy...

You can try getting the Phex code and understanding it (Java-Code), but you'll need some time to get everything up.

First have a look at the how Gnutella works:
- Main Page - Gnufu - concepts explained
- Gnutella Protocol Specification - Gnutella Specification - exact specifications
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #4 (permalink)  
Old November 19th, 2007
Junior Member
 

Join Date: November 18th, 2007
Posts: 4
helpfred is on a distinguished road
Default

Hi, Thank you for your reply.

I have looked at the link it seems too complecated, all i need is a little program of about 200 lines and out puts the results from 20 random queries, (i am only using query and queryhit, not ping or pong) on ttl3 and 4.

I think the basic idea would be to open a connection to each of the nodes (whether you just pick a random set of nodes or otherwise), send the query to each, then reading data back over the same connections.. once you get a result you just parse out whatever information you need from the response and write to a file...

I know that i have to declare things like query, queryhit, ttl3, ttl4, read in files, etc

I just dont know how to start it, to be honest... So any help would be appriciated.

Last edited by helpfred : November 19th, 2007 at 11:31 AM.
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 03:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Copyright © 2007 Gnutelliums LLC.
All Rights Reserved.