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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinodtak
    New Member
    • Mar 2010
    • 1

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

    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.
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Can you use cURL?

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      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

      Comment

      Working...