It is more of a feature or a bug. Currently, when specifying the IP address of the discovery server UaExpert finds the server. However, when afterwards trying to connect the error as follows occur:
Code: Select all
[uastack] OpcUa_P_RawSocket_InetAddr: Unexpected error in getaddrinfo: 11
[uastack] OpcUa_P_ParseUrl: OpcUa_P_RawSocket_InetAddr reports error 0x80000000.
Could not connect to server: Bad
Code: Select all
Adding Url opc.tcp://arm:8888
The workaround to this problem is to go into Server's properties, and replace "arm" with the actual IP address.
It then connects fine and discovers all the nodes finely.
The question/topic is if that behavior of changing the IP address of the server with the response of the DHCP server is desirable.