Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5417

"Host address was not found" error in udp application, only for address x.x.8.x

$
0
0

I'm using CVI 2015 for an UDP application. Everything works well except when I use a destination address of the form x.x.8.x in the UDPWrite function. 

The error I get is

"NON-FATAL RUN-TIME ERROR:   "TESTBENCH.c", line 2685, col 5, thread id 0x00000C54:   Function UDPWrite: (return value == -6813 [0xffffe563]). Host address was not found"

I use destination address in the correct range. As an example, if I use address "232.001.001.101", the application works well, but if I use "232.001.008.101", I get the previous error. This happens even for different address and generally, addresses of the form x.x.8.x. If I use another program to send UDP datagram to the same destination port and address, there is no problem, so I understand that is not a problem of Windows or firewall but it is something inside CVI. Morevore, if I create a distkit and I install the program on a different PC, the problem persists, so it is not a problem related to the pc. Any idea on how to solve it?


Viewing all articles
Browse latest Browse all 5417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>