Comments (4)
A quick Google shows the situation is slightly better than Flash. You'll need a policy file on a webserver on port 943. As of Silverlight 4, it can alternatively be served from port 80. See: http://msdn.microsoft.com/en-us/library/cc645032.aspx
Given your reasons for not having a Flash transport, I guess this can be done by requiring at least Silverlight 4. Though there's still a chance of timeouts and possible delays when in development with nothing listening on port 80.
from sockjs-client.
Thanks for finding that. This raises next questions:
- How many IE 7, 8, 9 users have silverlight 4?
- What about https/ssl, does it use port 443?
- Is silverlight using proxies?
- Is opening a silverlight thing (activex?) fast enough? Is communicating with the plugin fast? How large the websocket plugin code is?
- Loads of questions regarding timeouts and other technical details.
from sockjs-client.
Disclaimer: I'm only reading documentation, no actual experience with Silverlight here.
It gets more interesting. Something I missed is that only ports 4502-4534 are allowed when making normal socket connections in Silverlight, which is also explained in the linked MSDN article. So the proxy argument breaks there as well.
- Here are some rough stats on install base of Silverlight 4.
- Sockets in Silverlight have no SSL support. It looks like it can make HTTPS requests through other interfaces, but that's of no use here.
- No idea.
- There's a demo up. The Silverlight plugin there is apparently 15.4 KiB. No idea about load times and latency.
- Also of no help there.
from sockjs-client.
This is a brilliant research, thanks!
The port restriction (4502-4534) is a major problem. Some more links:
- http://stackoverflow.com/questions/3971743/bypass-silverlight-tcp-port-restrictions
- http://blogs.msdn.com/b/ncl/archive/2009/06/23/why-does-silverlight-have-a-restricted-port-range-for-sockets.aspx
I'm closing this issue as: WONTFIX.
from sockjs-client.
Related Issues (20)
- SyntaxError: The URL's scheme must be either 'http:' or 'https:'. 'wss:' is not allowed. HOT 2
- questions under the micro-front-end architecture
- APIs returning 401 'unauthorised' while handshaking HOT 4
- Sockjs Connection getting 401 error , info endpoint HOT 1
- Move to Github actions CI
- modifying document.domain no longer supported HOT 1
- SockJS Client in React doesn't subscribe to the 'initial/queue' and one other topic HOT 4
- Angular Warning: "CommonJS or AMD dependencies can cause optimization bailouts. HOT 1
- Cannot read properties of null (reading 'transportName')
- Does the library support IPv6 address with zone id
- failed: WebSocket is closed before the connection is established.
- Unable to detect Chromium based browsers HOT 1
- React Vite + SockJS Client All transports failed HOT 1
- Connecting from an HTTPS website to a 'localhost' url doesn't work
- Google Chrome says "Deprecated feature used" in Issues tab HOT 2
- Vulnerability issue on Math.random() - Fortify Priority: High
- Vulnerability issue on Empty passwords - Fortify Priority: High HOT 2
- sockjs-client uses deprecated "unload" listener HOT 2
- Disable console log for fetch HOT 1
- Remove me HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sockjs-client.