Request Handler code snippet wanted plz

Discussion in 'Java' started by Gil Blais, Apr 15, 2004.

  1. Gil Blais

    Gil Blais Guest

    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]);
    }
     
    Gil Blais, Apr 15, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harvey
    Replies:
    0
    Views:
    750
    Harvey
    Jul 16, 2004
  2. Harvey
    Replies:
    1
    Views:
    880
    Daniel
    Jul 16, 2004
  3. brian

    Size of my Struct? PLZ PLZ reply

    brian, Nov 23, 2004, in forum: C Programming
    Replies:
    7
    Views:
    427
    -berlin.de
    Nov 25, 2004
  4. Replies:
    1
    Views:
    400
  5. Replies:
    0
    Views:
    365
Loading...

Share This Page