aloplop 0 Newbie Poster

Hi folks,

my problem is that I want to send to a Webcam connected in the port 80 of a remote machine an order to move itself from my application developed in C++. The company has sent to me this code:

POST /pantiltcontrol.cgi HTTP/1.0(0D0A)
User-Agent: agent_name(0D0A)
Content-length: length(0D0A)
Authorization: Basic encoded_id_password(0D0A)(0D0A)
PanTiltCommand=value(0D0A)(0D0A)

"...we use SDK (CGI-command) document for developmental purpose."

What can I send to the camera? I have tried creating a char array with all the things above, but it doesn´t work.

What can I do????

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.