LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maintain UDP multicast and unicast connection through same port and IP

Solved!
Go to solution

Hi All,

 

I'm currently working on an application which needs 2 UDP connections at same time using same IP and port combination. One connection would be a unicast based connection and second one would be multicast. I keep getting the error 60 on this. Is this generally possible? I have read in google that in Windows OS, there is an option to make the address reusable by this option SO_REUSEADDR/ SO_REUSEPORT. 

 

Is it possible to bring this concept to LabVIEW?

Certified LabVIEW Architect
System Test Architect
Electrical Engineering
JLR
0 Kudos
Message 1 of 2
(727 Views)
Solution
Accepted by topic author RishiDivakar

Just a follow up, I got the solution a day after posting this 🙂

This is normally allowed in Windows OS stack. However, not allowed in LabVIEW by default.

Add command in LabVIEW.ini/EXE ini file. 'SocketSetReuseAddr=TRUE'

Certified LabVIEW Architect
System Test Architect
Electrical Engineering
JLR
Message 2 of 2
(595 Views)