[Pharo-project] Zinc and P2P
Hi Sven or whoever feels concerned, I'm planning to use Zinc and have a question, which might sound trivial for networking experts: is it sufficient for Zn-Server to work if someone using Zn-Client knows my actual IP-adr (plus username and pw)? Thanks in advance Johannes Johannes Rasche mail: johannesrasche@me.com www: http://myNeat.net
Johannes, On 27 Oct 2011, at 09:45, Johannes Rasche wrote:
I'm planning to use Zinc
and have a question, which might sound trivial for networking experts:
is it sufficient for Zn-Server to work if someone using Zn-Client knows my actual IP-adr (plus username and pw)?
Yes, that is enough: when an HTTP client knows an HTTP server (and the network is there) they can talk to each other, that includes ZnClient and ZnServer. The challenge with P2P is exactly that: how will parties discover each other and will they actually be able to talk to each other at the network level (firewalls, ISP restrictions, etc..). As always, http://en.wikipedia.org/wiki/Peer-to-peer is a good place to start. HTH, Sven
Thanks Sven, but as you mentioned firewalls might be the challenge, but is that really a miracle ( though it's for me :) ? Some weeks ago Stef was asking a P2P question and 'http://www.squeaksource.com/DGV' turned out to have a solution. But I didn't have the time up to now to check that is detail, still hoping that this point might be solved by a more up-to-date approach. It seems that I have to study DGV ... Cheers Johannes Am 27.10.2011 um 09:55 schrieb Sven Van Caekenberghe:
Johannes,
On 27 Oct 2011, at 09:45, Johannes Rasche wrote:
I'm planning to use Zinc
and have a question, which might sound trivial for networking experts:
is it sufficient for Zn-Server to work if someone using Zn-Client knows my actual IP-adr (plus username and pw)?
Yes, that is enough: when an HTTP client knows an HTTP server (and the network is there) they can talk to each other, that includes ZnClient and ZnServer.
The challenge with P2P is exactly that: how will parties discover each other and will they actually be able to talk to each other at the network level (firewalls, ISP restrictions, etc..).
As always, http://en.wikipedia.org/wiki/Peer-to-peer is a good place to start.
HTH,
Sven
Hi Johannes Took a quick look at comments of some DGV packages and it looks like they have put a lot of groundwork in. !Tric-P2P Chat commentStamp: '<historical>' prior: 0! This package represents a simple chat application that runs on top of AardWorks-Gossip. The idea is that the user makes him/herself available for chat. This effectively means that the node will respond to searches for the user's author initials. After searching for a user's author initials, you can open a chat with the user, sending and receiving data is done through the local AWGPeer. This app is a proof-of-concept. It uses floodsearching (e.g. broadcasting) and direct routing of packets, dynamically allocated and previously hardwired endpoints, etcetrera. In fact, this might well exercise most of the code in AardWorks-Gossip ;)! Maybe Croquet has some useful ideas for you too. Good luck... Cheers Carlo On 27 Oct 2011, at 10:27 AM, Johannes Rasche wrote: Thanks Sven, but as you mentioned firewalls might be the challenge, but is that really a miracle ( though it's for me :) ? Some weeks ago Stef was asking a P2P question and 'http://www.squeaksource.com/DGV' turned out to have a solution. But I didn't have the time up to now to check that is detail, still hoping that this point might be solved by a more up-to-date approach. It seems that I have to study DGV ... Cheers Johannes Am 27.10.2011 um 09:55 schrieb Sven Van Caekenberghe:
Johannes,
On 27 Oct 2011, at 09:45, Johannes Rasche wrote:
I'm planning to use Zinc
and have a question, which might sound trivial for networking experts:
is it sufficient for Zn-Server to work if someone using Zn-Client knows my actual IP-adr (plus username and pw)?
Yes, that is enough: when an HTTP client knows an HTTP server (and the network is there) they can talk to each other, that includes ZnClient and ZnServer.
The challenge with P2P is exactly that: how will parties discover each other and will they actually be able to talk to each other at the network level (firewalls, ISP restrictions, etc..).
As always, http://en.wikipedia.org/wiki/Peer-to-peer is a good place to start.
HTH,
Sven
than you Carlo, I think I'll go deeper into those packages, possibly Cees an help understanding if necessary regarding Croquet: yes I had it in mind, also tried a little last year, but wasn't sure that I would get the right answers - anyway it's another option Johannes Am 27.10.2011 um 10:51 schrieb Carlo:
Hi Johannes
Took a quick look at comments of some DGV packages and it looks like they have put a lot of groundwork in.
!Tric-P2P Chat commentStamp: '<historical>' prior: 0! This package represents a simple chat application that runs on top of AardWorks-Gossip. The idea is that the user makes him/herself available for chat. This effectively means that the node will respond to searches for the user's author initials. After searching for a user's author initials, you can open a chat with the user, sending and receiving data is done through the local AWGPeer. This app is a proof-of-concept. It uses floodsearching (e.g. broadcasting) and direct routing of packets, dynamically allocated and previously hardwired endpoints, etcetrera. In fact, this might well exercise most of the code in AardWorks-Gossip ;)!
Maybe Croquet has some useful ideas for you too.
Good luck... Cheers Carlo
On 27 Oct 2011, at 10:27 AM, Johannes Rasche wrote:
Thanks Sven,
but as you mentioned firewalls might be the challenge,
but is that really a miracle ( though it's for me :) ?
Some weeks ago Stef was asking a P2P question and 'http://www.squeaksource.com/DGV' turned out to have a solution.
But I didn't have the time up to now to check that is detail, still hoping that this point might be solved by a more up-to-date approach.
It seems that I have to study DGV ...
Cheers
Johannes
Am 27.10.2011 um 09:55 schrieb Sven Van Caekenberghe:
Johannes,
On 27 Oct 2011, at 09:45, Johannes Rasche wrote:
I'm planning to use Zinc
and have a question, which might sound trivial for networking experts:
is it sufficient for Zn-Server to work if someone using Zn-Client knows my actual IP-adr (plus username and pw)?
Yes, that is enough: when an HTTP client knows an HTTP server (and the network is there) they can talk to each other, that includes ZnClient and ZnServer.
The challenge with P2P is exactly that: how will parties discover each other and will they actually be able to talk to each other at the network level (firewalls, ISP restrictions, etc..).
As always, http://en.wikipedia.org/wiki/Peer-to-peer is a good place to start.
HTH,
Sven
Thanks Göran, I did so Am 27.10.2011 um 11:25 schrieb Göran Krampe:
On 10/27/2011 10:27 AM, Johannes Rasche wrote:
It seems that I have to study DGV ...
Drop an email to Cees, he is probably happy to answer some questions.
Guessing he might use casedeg (at) gmail.com
regards, Göran
participants (4)
-
Carlo -
Göran Krampe -
Johannes Rasche -
Sven Van Caekenberghe