• Advertisement
Sign in to follow this  

Accessing C++ program using Web Browser

This topic is 3572 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys, i am trying to make an application that receives images from a few cameras in my house and allow me to view these images using a normal web browser, the app opens a specific port in my PC, the question is - how can i send HTML codes to the browser? And how do i put the images(stored in a temp folder in my PC) into the HTML? thanks

Share this post


Link to post
Share on other sites
Advertisement
It would be best to use a HTTP library to do this, other wise you will need to program the protocol your self.

Check out these libraries, they *may* do what you need:
http://curl.haxx.se/libcurl/competitors.html

*edit* just occurred to me a much easier way:
Run a web server (Apache for instance) on your computer, and simply list your images folder as web root.

Or if you really wanted a program to server it, use CGI to run the program.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement