How do I set the username and password for security authentication using the C++ API?

How do I set the username and password for security authentication using the C++ API?

book

Article ID: KB0089680

calendar_today

Updated On:

Products Versions
TIBCO SmartSockets -
Not Applicable -

Description

Resolution:
In the newer SmartSOckets sscpp API there is a setUsernamePassword method in the Tsrv class which can be used. If you are using the older cxxipc API there is no method for this and you will have to call TipcSrvSetUsernamePassword from the C API.

Note: The older cxxipc API was frozen with the release of SmartSockets 6.2 . User's are recommended to move to sccpp.

Issue/Introduction

How do I set the username and password for security authentication using the C++ API?