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!
Try this, a good reference
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