Why are TCPClient and NetworkStream missing from Silverlight?
Are there any known ports of TCPClient and NetworkStream to Silverlight?
If there aren’t, am I allowed to copy the source code from the .NET 4 runtime into my own library?
If not, how do I start porting those classes to Silverlight?
Why are TCPClient and NetworkStream missing from Silverlight? Are there any known ports of
Share
There are quite some limitations on Networking in Silverlight, mostly related to the fact that Silverlight runs in a sandbox in the browser (e.g. cross domain policy, port restrictions, and other, which can partly be solved by using OOB applications with an relaxed security model).
However, Silverlight provides some support for Sockets, and there are some high-level client implementations out there, like this one.
These are maybe a good foundation to start building your own ports, because I suppose the .NET 4 runtime license does not include the right to fork source codes, not even to port them to Silverlight.