Is there a way to bypass the Silverlight port range (4502-4532) security restriction for TCP connections? M开发者_运维百科aybe a 3rd party implementation of TcpSocket that does not enforce the 4502-4532 port range?
There is no way around this restriction unless you are willing to turn your application into a out of browser app with elevated trust.
A "3rd party" implementation would still need at some point to interoperate with unmanaged network layers, the Silverlight plugin provides no way for that to happen except through its own runtime.
The restriction is there for a reason and even if you could find a way round it you could never be sure that such a hole would never be closed.
精彩评论