We are building SAP PLM system and we want to connect to SAP server from external C++ application. We have SAP gateway and ECC installed. What are required steps to follow to connect to this? How to establish connection between desktop C++ application and SAP server over internet? What are the methods we can use for establishing the connection? Do we need to use HTTP or TCP/IP connection?