Thread: HTTP call in C

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    2

    HTTP call in C

    Hi All,
    Am kind of new to C and I have requirement to make a HTTP call for live data for some processing from my background C program.

    Looking forward for some inputs on best way to do it. Any recommendations/risks involved?

    My application is running on HP-Unix 11.11
    Thanks a lot.
    Sen
    Last edited by sippy070; 04-27-2007 at 12:25 AM.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    search engine clickity click

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Google curl

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    10

    Socket

    What about using sockets?
    Create a basic http comand string (eg: "GET / HTTP/1.1") and send() trough a tcp socket...then recv() the response data...
    Last edited by _jr; 04-27-2007 at 06:28 AM.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    2
    Thank you all

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. minix system call pls help for project
    By porvas in forum Linux Programming
    Replies: 2
    Last Post: 06-14-2009, 02:40 AM
  2. How to get RSSI value, send to sensor, sensor receive package, repackage it?
    By techissue2008 in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-04-2009, 10:13 AM
  3. Error C2664 - Trying to call an external Dll
    By jamez05 in forum C++ Programming
    Replies: 3
    Last Post: 08-08-2006, 06:07 AM
  4. Iterative Tree Traversal using a stack
    By BigDaddyDrew in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2003, 05:44 PM
  5. call by reference and a call by value
    By IceCold in forum C Programming
    Replies: 4
    Last Post: 09-08-2001, 05:06 PM