10-12-2023, 12:14 AM
I am having some difficulty using the C++ API to connect to RoboDK on a specific port. Can you please provide an example of doing this?
My specific use case is inside a class instance, connecting to an existing instance of RoboDK that was already started by another process. I can pass either pass the desired port number to connect to to the class constructor or to an init() method, but I do need to be sure that the class variable RDK is linked to that specific port number. The RDK variable needs to be available to all other class methods.
My specific use case is inside a class instance, connecting to an existing instance of RoboDK that was already started by another process. I can pass either pass the desired port number to connect to to the class constructor or to an init() method, but I do need to be sure that the class variable RDK is linked to that specific port number. The RDK variable needs to be available to all other class methods.