You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the library, I'm using it for providing a log webpage for systems on the network.
I wanted to handle the case when the handshake fails (e.g. if someone opens the endpoint in a browser). Then I noticed that I could still use the TCP refnum after calling Close.
This is unexpected as the general LabVIEW convention is to always close/destroy refnums even if an error is encountered.
The cause is that the error in terminal of the Socket accessor VI is wired and returns a default value in the error case.
The VI should look something like this:
The text was updated successfully, but these errors were encountered:
Thanks for the library, I'm using it for providing a log webpage for systems on the network.
I wanted to handle the case when the handshake fails (e.g. if someone opens the endpoint in a browser). Then I noticed that I could still use the TCP refnum after calling Close.
This is unexpected as the general LabVIEW convention is to always close/destroy refnums even if an error is encountered.
The cause is that the error in terminal of the Socket accessor VI is wired and returns a default value in the error case.
The VI should look something like this:
The text was updated successfully, but these errors were encountered: