Page 1 of 1
Posted: Sun Jul 28, 2002 3:04 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Hi,
Did anybody have some example of comunicating with Gnutella network on PureBasic?
It could be interesant to develop some peer to peer app using it.
Thanks in advance.
Posted: Mon Jul 29, 2002 7:51 am
by BackupUser
Restored from previous forum. Originally posted by fweil.
LO,
WHat do you mean exactly with P2P ? AFAIK I understand P2P apps as software containing client and server features, able to establish data exchange between two nodes without to have a server to control the flow. This means that all stations are both clients and servers and may communicate with any other.
If this is your understanding of this stuff, I do not have had any piece of code to design dedicated to GNUtella but I can confirm you it is possible to do such. The same application can contain a NetworkServer... and NetworkClient... sequences. The server part can link as many port as needed and each client can communicate using a specific port for each.
By the way, P2P apps may not require to design a server part which will be most of the time on a set of existing Internet servers for example. In this case the P2P meaning is that each client has all required features to access to any needed server component. According to the application purpose, it may significate that each client can have synchronized information (pooled from one or many existing servers), or information that the P2P application manages for synchronization from / to each station. I have designed such an application with PureBasic to give a 'Groupware' behaviour to a computer assisted content management software for Web sites.
Maybe I am misundersting you, just tell us more about the possible specificities you were thinking. Anyway I am confident it is possible to find good solutions with PureBasic.
Rgrds
Francois Weil
14, rue Douer
F64100 Bayonne
Posted: Mon Jul 29, 2002 5:01 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
LO,
WHat do you mean exactly with P2P ?
Peer to Peer
AFAIK I understand P2P apps as software containing client and server features, able to establish data exchange between two nodes without to have a server to control the flow. This means that all stations are both clients and servers and may communicate with any other.
Yes, you are right.
The situation is this:
To find other p2p like yours you do need some network, there are several networks for file-sharing.
Gnutella is one of the most well know and with high traffic, but it does have some kind of protocol.
I know i have to find and study the gnutella protocol in order to develop one p2p client, but first im asking if someone allready has done something in this way using PureBasic.
Its not to hard to develop your own experimental network and the appropiate client for this network... but the problem is that your network wont have any other users...
In fact today im doing some experimentation with my own network-protocol (something really simple)
Posted: Mon Jul 29, 2002 8:03 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Hi!
We are working on a P2P client too. In further versions we want to include a compatiblity for the edonkey and overnet network. The protocol isnt public, so we searched for some "possible-protocol" descriptions and found many in the net.
At first we created our own protocol (with multi source support and segmented downloading). Atm we are working on the P2P part, the last part for our work.
So we hope to finish it in some months. Infos will be available on our Website soon. (Screenshots, technical details etc.)
So if you need help, we might can help you. Possible we will add a gnutela network support later too. :)I think it should be easier to get the gnutella protocol as the edonkey one.
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
Posted: Tue Jul 30, 2002 4:32 am
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Hi,
Possible we will add a gnutela network support later too. :)I think it should be easier to get the gnutella protocol as the edonkey one.
Im developing mine too. Im at 60%, today i do my firsts transfers succesfully.
At the moment im using my own simple protocol, but as i say in my previous post i would like to add gnutella support to my app since i have 0 users at the moment then my network then have 0 files and every possible user will run far away from my app for this reason.
I will start reading about gnutella tomorrow, but im sure i wont understand many things, then i will appreciate your help
Cheers
Posted: Tue Jul 30, 2002 7:18 am
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Its very importend to handle a multi-source support in sharing tools to keep files alive in the network.
We segment our upload/downloads and collect the parts together from other users at the same time. If a client succesfully downloaded one Chunk it will be automatically available to other users. That means you share part of files which are not completed yet. Another advantage is, that you can get more speed as downloading only from one peer. I dont know the gnutella network so much, couse I didnt use it yet. I tried but the download speed wasnt good enough and the search results are not the best. I like the edonkey network much more.
Good search results and good availbility of files in the network to download at good speed.
Take a look on
http://www.edonkes2000.com
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
Posted: Tue Jul 30, 2002 1:46 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Hi,
Edonkey looks pretty good !!
Its difficult to use its protocol? where can i find it?
Posted: Tue Jul 30, 2002 3:17 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
I download edonkey commandline but its so slow to connect, try multiple server and always get "cant connect to...".
Im doing something wrong?
Maybe instead of working with the protocol its not so difficult to control the commandline app using some front end GUI.
Posted: Tue Jul 30, 2002 4:14 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Tranquil
Also i done some searchs in edonkey... good results, but if i try to download... its so slow, in fact just download 1k and nothing more.
Maybe im doing something wrong : (
Thanks n advance
Posted: Wed Jul 31, 2002 1:52 pm
by BackupUser
Restored from previous forum. Originally posted by MrVainSCL.
Hi ricardo
I do mainly the plugin stuff and some other small parts of our tool where tranquil and me are working on! As tranquil sayed, edonkey is really cool... i tried WinMX, OverNet, eDonkey and some other progs on the web for file sharing... eDonkey is really the best tool until now i think...
If you have such bad donwload speed and few search results, then try to select/connect to another server with more users/files... I have very often up to 40kb and more download speed...!
Try to connect (edonkey) to: 217.160.78.115 <- a lot stuff and fast!
Good luck...
PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten
Posted: Wed Jul 31, 2002 6:57 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Sorry for late answer, did not saw your entry till yet.
The settings are very importend. If you are using a DSL oder Modem (broadband internet), limit your uploadspeed when you line is asynchron. On T-DSL here in germany an uploadlimit of 12-13 is realistic and good for other users in the network. You should set your Connection to max. 800 instead of 45.
An updated serverlist is also very importend couse the donkey querys every server for Sources.
MrVain has found a "hacked" e-donkey protocoll in the net. Dont know where he found it, but it seems to be complete but it can be optimized a lot I think
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
Posted: Wed Jul 31, 2002 10:12 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Thanks to all for the answers : )