Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 23rd, 2008
Novicius
 
Join Date: March 23rd, 2008
Posts: 2
t3lla is flying high
Default 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
Reply With Quote
  #2 (permalink)  
Old March 23rd, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

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
__________________

-> 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 March 23rd, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

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).
__________________

-> 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 March 26th, 2008
Novicius
 
Join Date: March 23rd, 2008
Posts: 2
t3lla is flying high
Default

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..
Reply With Quote
  #5 (permalink)  
Old March 26th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

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!
__________________

-> 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
  #6 (permalink)  
Old April 2nd, 2008
OldDeath's Avatar
Shareaza Dragon
 
Join Date: April 1st, 2008
Location: Earth
Posts: 266
OldDeath is flying high
Arrow 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...
Reply With Quote
Reply


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

BB 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 07:07 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.