![]() |
Chat room p2p Hi, I must delvelop a chat room p2p that works on a network like gnutella. This service must be complitely decentralized (only registration of users can be done through a server) and the peers must communicate using HTTP protocol. Can you help me? Do you know any gnutella client that implement a chat room, written in c language for linux? Thanks, Bye |
The only p2p client I know which is written in C/C++ is gtk-gnutella, it doesn't have a chat, though. - gtk-gnutella - The Graphical Unix Gnutella Client if you can code in Java, you can also have a look at Phex. - Phex - Home |
But you should have a look at Gnutella for Users - Gnufu to see how Gnutella works so you can think about designing a useful chat protocol. Phex already has a rudimentary chat function, so you'd only have to do the user tracking to get chat working. A good place to start might be the download mesh, for example by keeping track of the friends of your friends, so they don't have to do a search, but simply ask the friends who still have the same IP for the addresses of the others (and tell them their new address). |
Hi! I've downloaded phex but it doesn't help me because I can't see the code (but only jar)! If anyone has materials or documentation about this matter .. I'm here! Thanks to everyone.. |
The code is as SourceForge.net: Phex - P2P Gnutella filesharing program You can get it via Subversion from here: svn co https://phex.svn.sourceforge.net/svn...hex/phex/trunk phex More information about Subversion access: http://www.phex.org/wiki/index.php/Subversion Happy coding! |
Chat in Shareaza... Shareaza has chat features included, an instant messaging like feature to chat with other Gnutella clients (supporting it) and in the current dailys, we are trying out implemeting IRC chat in Shareaza... But I don't think this is what you serach for because it is not what you want ("complitely decentralized") because IRC uses central servers for chatting... Anyway, if you want to have a look at this you can get the latest dailys here: Shareaza - Daily Builds The problem with a really decentralised chat feature is to find back other chatting partners in the net. Which means there is a need to create something like an entire network only to be able to find your chat partners... And this increases enormeously the network traffic. The other possibility is to use the current hash searching feature: Every client gets something like a completely random file with a unike hash, and other clients localise / find / search for clients by serching the hash of "their" file. But like this, we have "de nouveau" the problem with the increased network traffic... and a second one because not all G1 clients support file search by hash... |
All times are GMT -7. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.