Client & Server in the same App
Moderator: uasdkc
-
- Jr. Member
- Posts: 1
- Joined: 05 Apr 2019, 09:52
Client & Server in the same App
Is it possible to have a client and an opcua server in the same program ?
- Support Team
- Hero Member
- Posts: 3071
- Joined: 18 Mar 2011, 15:09
Re: Client & Server in the same App
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.
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
Unified Automation Support Team