By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,625 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,625 IT Pros & Developers. It's quick & easy.

Without using browser I want to send one HTTP link to server

P: 1
How would i use a C program to send URL by using http protocol to webserver(SMS Gateway)?

By using browser I am able to send SMS by using URL. But i'd like to send information in a similar way via code in my desktop application.
Mar 13 '10 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 2,057
Can you use cURL?
Mar 15 '10 #2

Expert Mod 5K+
P: 8,916
You could always just open a tcp socket to the http server. HTTP protocol is fairly simple so it is quite easy to construct a GET request.

Look up:
sockets (or Berkeley Sockets or BSD Sockets)
HTTP request
Mar 15 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.