Here are some pointers when using the Connection object. This object is part of the BaseAPI from which each API inherit (SmartObjectClientServer, SmartObjectManagementServer etc). Below is some sample code based on three scenarios in which you can connect...