Request Handler code snippet wanted plz

G

Gil Blais

I have a task to communicate with a local/remotely IP addressable device
such that I can send it a CGI request (and others later) as shown below and
then obtain its response. I will receive Strings or .avi/.wav files back
only (so far).
Thanks in advance, Gil Blais
--- cut here ---
void GetCameraTitleForCamera1 {
HTTPRequestHandler HRH = new HTTPRequestHandler();
HttpQuery query =
new HttpQuery("http://172.16.85.124/variable.cgi?variable=c_title_1",HRH);
query.run();
jLabelAnswer.setText("Camera 1 title is " + HQL.ResultString[0]);
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top