Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7544869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:47:06+00:00 2026-05-30T08:47:06+00:00

How do I make an HTTP connection using C? Any references or sample code

  • 0

How do I make an HTTP connection using C? Any references or sample code out there? Further, how do I implement opening a Comet connection from client written in C? (Any additional info about opening an HTTPS connection would also be appreciated.) Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:47:08+00:00Added an answer on May 30, 2026 at 8:47 am

    Try this, a good reference

    http://beej.us/guide/bgnet/

    The above is tutorial for socket programming, you can use those to built an http client of your own, otherwise you can choose built in libraries like curl.
    If you use plain sockets then you need to encode and decode the header information along with each request, also so many others factors about http protocol need to be considered
    http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to easily make a HTTP request with C++? Specifically, I
I need to make HTTP request on Android using GSM connection, not Wifi. My
Is there a way in PHP to make HTTP calls and not wait for
I'm pretty new to c++ and I'm using libcurl to make an http request
Is it possible to make such buttons ( http://img225.imageshack.us/img225/6452/buttonslw9.jpg ) using CSS? It should
I'm using Apache Commons to make my HTTP calls, and in my activity I
I need to make an excel file which would fetch data from connection to
Are there any Clojure http libraries that use the java.net.URLConnection class? Reason I'm asking
i am using following code to make an httpPost call but it is returning
I am using a class to use HTTP POST & getting data from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.