Client & Server in the same App

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

Moderator: uasdkc

Post Reply
samuel.carretero
Jr. Member
Jr. Member
Posts: 1
Joined: 05 Apr 2019, 09:52

Client & Server in the same App

Post by samuel.carretero »

Is it possible to have a client and an opcua server in the same program ?

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

Re: Client & Server in the same App

Post by Support Team »

Hello Samuel,

yes, using the AnsiC SDK you can run server and client simultaneously in one application. Please note that UaBase_DoCom has to be called from one single thread (not from different ones), and that all client actions have to be made from within this thread. Please also see http://documentation.unified-automation ... ation.html for more information.
Best regards
Unified Automation Support Team

Post Reply