i tryed thih both.. but no results !

-----Urspr�ngliche Nachricht-----
Von: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 28. Mai 2001 21:50
An: Kristofer Wolff
Betreff: Re: mp3 stream


Kristofer Wolff wrote:
>
> hi folks,
> i looked up the net, and tryed a lot a lot variantes. but i can't get
throw.
>
> i am trying to send a datafile (mp3 over the net, but all i cet is the
> correct file length, but can not here any sound !
>
> i am using
>
>         print "HTTP/1.0 200 OK\n";
>         print "Server: VentjeMP3\n";
>         print "Content-type: audio/x-mpeg\n\n";

        binmode STDOUT;

>         open(DATA, "<$IN{download}");
>         binmode DATA;
>         while(read(\*DATA, $content, 512))
>    {

I might also try sysread or drop the ref on DATA or both:

        while (sysread DATA, $content, 512) {

>           print $content;
>    }
>         close(DATA);
>         exit;
>
> whats wrong ??? any hints ?

--
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.todbe.com/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to