[Dojo-interest] Re: Re: How to make P2P with Dojo
marc.lucchini at gmail.com
Tue Jan 2 14:45:47 MST 2007
The peers wouldn't be on a local but would know all their ip addresses.
The idea of using Dojo for P2P is due to a school project/study.
If we suppose we run on a local network, simple binds would do it?
The peers must connect to a webserver to give their IP (centralized) and get
the ones of the other peers.
Then forget the server and contact the peers directly.
I don't see how the contacted peers can open something like a socket to wait
for data and display it.
>If your P2P peers are all all running a local, not firewalled webserver and
>each peer knows the address of the others, then there is no difference for
>dojo compared to a traditional client server environment. But why do you
>want to use dojo for P2P ? At least the part which does the P2pP
>communication I would take outside the browser and benefit from toolkits
>offering NAT traversal and all the other special needs of P2P.
>On 1/2/07, Marc Lucchini < marc.lucchini at gmail.com> wrote:
>> I've seached a lot, has anyone ever tried to use dojo.bind to do p2p?
>> How do you handle the packets received by the clients?
>> Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest