Defining application as Client and Server

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
RafaelCrespi
Hero Member
Hero Member
Posts: 26
Joined: 22 Jun 2017, 09:41

Defining application as Client and Server

Post by RafaelCrespi »

Hi,

I would like to implement Client and Server on the same application. How can I do it?

I have found in "opcua_types.h" the 'ApplicationType' enumeration, and the possible value 'OpcUa_ApplicationType_ClientAndServer'.

Where and how I have to use it?


Thank you very much,

Rafa

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: Defining application as Client and Server

Post by Support Team »

Hello Rafa,

the ApplicationType is visible in the ApplicationDescription. You can set that value in the ServerConfig (e.g. ServerConfig.xml).
see (search for 'ApplicationType'):
http://documentation.unified-automation ... g_xml_file
Best regards
Unified Automation Support Team

Post Reply