Is it possible for Siverlight to communicate directly with an open TCP port on the user's machine?
+1
A:
in a word No.
You can use sockets (and therefore TCP) to communicate with open ports (in a limited range) on the server that is hosting the application, but you cannot connect to any other machines. if you need to interoperate with something on the client machine i would suggest using the new COM interoperability in Silverlight 4 (here is an example)
luke
2010-06-30 20:55:38
I guess I can talk to the server and have that bounce back to the client. There are no firewall issues, so it should work.
Jonathan Allen
2010-06-30 21:33:16
what are you trying to communicate with on the client machine?
luke
2010-07-01 01:54:20
An old Windows application written in VB 6. Since VB6 can display web pages I thought that it could also display Silverlight apps. But it needs to be able to raise events in the host and this was the only thing I could think of.
Jonathan Allen
2010-07-02 00:16:28
you could probably use javascript as a bridge language. js<--> sl is pretty easy and im sure there is a way for Vb to listen to js events in its hosted document.
luke
2010-07-02 00:49:37