Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Direct connection between 2 SL clients
5 replies. Latest Post by Tiradentes on October 8, 2008.
(0)
Tiradentes
Member
2 points
6 Posts
10-08-2008 12:37 PM |
Hi,
Is threre a way to connect a SL client from another SL client without routing the whole communication over a server?
I guess not, for security reasons, but maybe I missed something.
Thanks.
HarshBar...
Star
9908 points
1,719 Posts
10-08-2008 12:38 PM |
If both are hosted in Same Aspx or Html Page you can communicate them byu exposing some Scriptable members.
10-08-2008 12:41 PM |
Hi Harsh,
Wow, that was fast :-)
But I meant a connection between clients running on different machines.
Ueli
Bill Reiss
Contributor
4836 points
917 Posts
10-08-2008 12:43 PM |
If they're in the same page, you could build a bridge in Javascript where you would have some method that gets called from on of the Silverlight apps, and then calls into the other one.
If you're talking about a peer-to-peer between two browser instances, there's some discussion about it here:
http://silverlight.net/forums/t/19631.aspx
and here:
http://silverlight.net/forums/t/33072.aspx
10-08-2008 12:46 PM |
In that case either you have to use Services or sockets for communication.
10-08-2008 12:53 PM |
Hi Bill,
Yes, that's exactly what I was looking for... Unfortunately the term peer-to-peer didn't cross my mind, so my forum search was unlucky. Thanks.