C++ SMS SDK for Visual Studio

This example application was written in C++ using Visual Studio 2008 for
to illustrate how you can send and receive SMS messages. The example uses the
ozApi.dll file, that allows you to connect to Ozeki NG SMS Gateway over the
network. The source code of the ozApi.dll is also included.

Introduction

The C++ SMS SDK included in the downloadable example, opens a TCP/IP socket
over the network to the SMSC and uses this socket to send and receive messages
(Figure 1). It sends the SMS message after logging
into the SMSC using a username and password. To use this example, you
should setup an Ozeki NG SMS gateway instance
on one of your servers in
the network. The SMS gateway can operate a GSM modem or GSM phone attached
to it with a data cable or it can connect to SMS service providers over the
Internet. In the SMS gateway, you should
create a standard user account and use that
user account in this SMS C++ example.

This architecture can be used to access SMPP SMSC using C++. Of course not
only C++ SMPP SMS connection is possible. You can setup C++ UCP SMS, C++
CIMD2 SMS and C++ modem AT command SMS
solution with it.

Figure 1 - C++ SMS API to connect to SMSC

C++ example code

The following example gives you a quick insight on how to use this C++ SMS API.