LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Equivalent du type SOCKET (windows) en LabVIEW

Bonjour,

 

Je fais appel dans mon vi à une librairie e fonction mais j'ai un problème pour faire le protoype d'une fonction. Ma fonction sort une SOCKET (c'est un type défini dans winsock.h) qui est à la base un UINT_PTR.

Connaissez-vous s'il vous plait l'équivalent de ce type sur LAbVIEW ?

 

Merci,

0 Kudos
Message 1 of 2
(2,350 Views)

It really depends what you want to do with this SOCKET. If you just want to get it into the diagram to pass it to another DLL function, then you can treat it as pointer sized integer in all Call Library Nodes. If you want to use it in LabVIEW you are out of luck. LabVIEW network refnums do contain a socket that you can access using the utility functions "vi.lib\Utility\tcp.llb\TCP/UDP Get Raw Net Object.vi". But you can't create a network refnum from a SOCKET to be used with LabVIEW functions.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(2,334 Views)