Comments (4)
The move to an OO-based Socket API was designed to allow wss:// support to be added by creating additional Socket classes that encapsulate the SSL/TLS layer.
Two methods have been investigated/prototyped so far:
- Using the .NET Secure Socket library - this would be for Windows targets only and the behaviour of the .NET Socket functions is not easily compatible with the native TCP/IP functions (e.g. timeouts).
- Wrapping the NI-provided OpenSSL implementation - some prototyping on this has been done and some WebSocket client support functionality has been implemented but was not fully debugged and difficult to implement (due to the number of different ways of using OpenSSL e.g. SSL / BIO functions) and wanting to use a non-blocking socket. The other approach for this would be to wrap the OpenSSL functions to make them more easily usable in LabVIEW but not much progress was made in this regard.
At NI Days Europe 2019 in November, NI announced that SSL/TLS support would be added to the TCP/IP palette in LabVIEW 2020.
The intention is to develop wss:// support using the LV2020 Beta and release in time for the full release of LabVIEW 2020.
from labview-websockets-api.
Initial experiments with the TLS/SSL support added to LabVIEW 2020 are promising but there are a number of small issues related to their timeout / error code behaviour.
I am intending to develop/release the TLS/SSL support as an addon package to allow continued support for older LabVIEW versions (>= LV2013) and the addon package will be for >=LV2020.
from labview-websockets-api.
Secure WebSockets Support has been added as an addon library for LabVIEW 2020. The package is available on GitHub at https://github.com/MediaMongrels-Ltd/LabVIEW-Secure-WebSockets-Addon
from labview-websockets-api.
I'm trying to setup a connection as a client to a public wss address, but it doesn't work. Do I need to select a certificate? And how do I get one?
from labview-websockets-api.
Related Issues (12)
- Fix incorrect generation of WebSockets-Secret in Client Handshake
- Websocket read HOT 1
- Socket Read / Write don't use the Socket property
- Single Message Sent is received as multiple Messages HOT 3
- Opcode 'xx' not supported
- Add LabVIEW NXG Support HOT 1
- Improve Base64 encode/decode performance HOT 2
- Add closing codes and reasons HOT 3
- WSS:// not working HOT 3
- Handshake header should do a case-insensitive match HOT 5
- Infinite loop on Read when no connection (default socket) HOT 2
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 labview-websockets-api.