c++ - Connecting a desktop application with a website -


i made application using qt/c++ reads values every 5-7 seconds , sends them website.

my approach simple. reading values want send , make http post website. send username , password website.

the problem cannot find out if request successful. mean if send request , server gets it, http:200 always. example if password not correct, there no way know it. way http works.

now think need kind of protocol take care communication between application , website.

the question protocol use?

if action performed completes before response header sent have option of adding custom status it. if website built on php can call header() add custom status of operation.

header('xapprequest-status: complete'); 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -