cURL / Mailing Lists / curl-users / Single Mail

curl-users

no printing received data

From: aymeric demay <meme037_at_hotmail.com>
Date: Tue, 05 Jul 2005 10:38:54 +0200

Hi,

I work on a project where I hava to modify camera's parameter, I use libcurl
and these functions "curl_easy_setopt" and "curl_easy_perform".
The problem is that I have a lot of received data that is printed on my
shell like this :

<html>
<head>
<title>Video</title>
<style type="text/css">
<!--
  a { color:#000000; text-decoration: none; }
  a:hover { color:"black"; text-decoration: underline; }
  .genFont{font-family:verdana,sans-serif;font-size:12px;color:#000000;}
  .cpqFont{font-family:verdana,sans-serif;font-size:11px;color:#000000;}
//-->
</style>
<script language="JavaScript">
<!--
function VideoConfirm()
{
  var msg = "\nYou have changed the video type and the system will restart.
\nPlease reload this page to connect again."
  if (!checkInString(document.VideoOption.text))
    return;
  if (confirm(msg))
  {
    document.VideoOption.submit();
  }
}
function ChangeVideoSize()
{
  var sform = document.VideoOption;
  var msg="The maximum frame per second will be changed by the image size.
\nCheck if you need to adjust the frame rate.";
  if (sform.size.selectedIndex == 2)
  {
    if (sform.frame.selectedIndex > 4)
      sform.frame.selectedIndex = 4;
    if (sform.frame.length >= 6)
       alert(msg);
    while (sform.frame.length >= 6)
    {
      sform.frame.remove(sform.frame.length-1)
    }
  }
  else
  {
   if(sform.frame.length < 9)
       alert(msg);
    while (sform.frame.length < 8)
    {
       var oOption = document.createElement("OPTION");
       if (sform.frame.length == 5)
         oOption.text = 15
       else if (sform.frame.length == 6)
         oOption.text = 20
       else if (sform.frame.length == 7)
         oOption.text = 25
      sform.frame.add(oOption)
    }
  }
}
//-->
</script>
<script language="JavaScript">
<!--

I just want to know if the configuration is ok, but I don't want to see all
the communication between the 2 devices.
Any ideas to don't printing these information?
Thanks
                                 Aymeric

_________________________________________________________________
Ne cherchez plus, trouvez ! Avec le nouveau MSN Search.
http://search.msn.fr/
Received on 2005-07-05