Connect NowSMS with a C++ Program...

Connect NowSMS with a C++ Program... SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 02, 2006 » Connect NowSMS with a C++ Program... « Previous || Next »
Author Message
JORGE MARTINEZ
Unregistered guest
Posted on Friday, November 25, 2005 - 12:28 pm:   

Hello...i'm tryimg to send SMS from a C++ aplication, it is posible??
I resolve the part to send SMS from NowSMS to my aplication, but i do not know how response....

Thanks...
JORGE MARTINEZ
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5307
Registered: 10-2002
Posted on Friday, December 02, 2005 - 06:15 pm:   

Hi Jorge,

If you are running the C++ program as a 2-way command, your program can echo text to be sent as a reply to the screen (printf or fprintf to stdout).

If your C++ program wants to make a new request to send an SMS message, then you need to issue an HTTP request (e.g., fetch a URL from the NowSMS server). I don't have any C++ examples, but you should find some URL fetching examples elsewhere. The NowSMS URL formats can be found here:

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm
http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics