7 Replies - 4070 Views - Last Post: 12 April 2013 - 05:45 PM

#1 Sinned  Icon User is offline

  • D.I.C Head

Reputation: 19
  • View blog
  • Posts: 207
  • Joined: 13-October 10

Server-less P2P network

Posted 17 September 2012 - 07:56 AM

Hello everyone,

There are a lot of documentations about P2P networking with a main server, which keeps track of all clients - and to this server each client connects to get a list of all other clients, in order to connect to them.
This is not what I want, because I heard about server-less P2P networking.

However I don't really understand how the clients could find each-other without the list, the concept of server-less P2P seems interesting to me.
So I was wondering if anyone could explain a little about it (and maybe about implementing in C/C++) or give me a reference to a online documentation.

Thanks,
Sinned

Is This A Good Question/Topic? 0
  • +

Replies To: Server-less P2P network

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: Server-less P2P network

Posted 17 September 2012 - 08:49 AM

Well of course you can do this but like you say, the client list is going to be the difficult stopping point and there's no real way to do it unless you have some form of discovery service that scans everything.
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9497
  • View blog
  • Posts: 35,844
  • Joined: 12-June 08

Re: Server-less P2P network

Posted 17 September 2012 - 09:38 AM

A few things to read:

http://msdn.microsof...y/cc297274.aspx

http://www.cs.duke.e...lessim_urso.pdf

http://www.dreaminco...2p-connections/

http://msdn.microsof...v=vs.85%29.aspx
Was This Post Helpful? 0
  • +
  • -

#4 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5382
  • View blog
  • Posts: 27,350
  • Joined: 10-May 07

Re: Server-less P2P network

Posted 17 September 2012 - 10:09 AM

View PostSinned, on 17 September 2012 - 10:56 AM, said:

because I heard about server-less P2P networking.

However I don't really understand how the clients could find each-other without the list

Even though there is no centralized 'server', each client would also act as a stand alone server binding to a port. So in a mass client to client network, I would think each client would act as a server as well as a client. That's how the P2P networks seed.
Was This Post Helpful? 0
  • +
  • -

#5 Sinned  Icon User is offline

  • D.I.C Head

Reputation: 19
  • View blog
  • Posts: 207
  • Joined: 13-October 10

Re: Server-less P2P network

Posted 17 September 2012 - 10:59 AM

There are two things I don't understand on (server-less) P2P networking.

Each peer would act as a server as well as a client.
Normally when you start running a server - actually waiting for incoming connections on a certain port - your firewall has to allow it as well as your router has to forward/open the ports.
So when I run a normal server (client-server architecture) it won't be accessible if my router is not configured. But I can participate in P2P networking without any problems.
Here I don't understand how this "server" could run. (I understand the client part)

How the other peers could be found.
As I said there won't be a list. And scanning all possible IPs from 1.1.1.1 to 255.255.255.255 - if there is another peer behind - sounds "a bit" devious to me.
I read about peer groups and channels, but that also doesn't look very server-less. Because those groups and channels should also be maintained by a main-server. Doesn't it?

So it is all really unclear to me.
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9497
  • View blog
  • Posts: 35,844
  • Joined: 12-June 08

Re: Server-less P2P network

Posted 17 September 2012 - 01:58 PM

It operates like gnutella or any other torrent-esque fashion.. you need to know at least one other client and essentially queries for users get flooded across all the clients until one is found. The starting off point would be having some sort of dummy machine on people can snag into initially and get a more larger list of other clients from there. Example.. you the creator of the software will probably have a machine running it, right? Have people automatically get that address and snag into the network!

http://computer.hows...le-sharing3.htm
http://computer.hows....com/kazaa3.htm
Was This Post Helpful? 1
  • +
  • -

#7 Sinned  Icon User is offline

  • D.I.C Head

Reputation: 19
  • View blog
  • Posts: 207
  • Joined: 13-October 10

Re: Server-less P2P network

Posted 18 September 2012 - 06:40 AM

I think I misunderstood the concept of server-less P2P networking.

For me the "super-node" or "another client" which has to be hard-coded in the program, sounds like some sort of server to me.
Now it looks a lot less impressive :P
(I will read myself more in the subject)

Anyway everyone many thanks for the help and explanation.
Was This Post Helpful? 0
  • +
  • -

#8 rogerperkins  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 06-October 10

Re: Server-less P2P network

Posted 12 April 2013 - 05:45 PM

View PostSinned, on 18 September 2012 - 06:40 AM, said:

I think I misunderstood the concept of server-less P2P networking.

For me the "super-node" or "another client" which has to be hard-coded in the program, sounds like some sort of server to me.
Now it looks a lot less impressive :P/>
(I will read myself more in the subject)

Anyway everyone many thanks for the help and explanation.


Your program could work in conjunction with 'freenet' and store and retrieve the seed file from the freenet. Users would have to install freenet on there computer as well as your program.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1