Code Monkey home page Code Monkey logo

Comments (4)

samsharp99 avatar samsharp99 commented on September 7, 2024 1

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:

  1. 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).
  2. 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.

samsharp99 avatar samsharp99 commented on September 7, 2024

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.

samsharp99 avatar samsharp99 commented on September 7, 2024

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.

Maddest avatar Maddest commented on September 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.