Winamp request while connecting to IceCast/ShoutCast
Hi there.
I am writing one script/app on PHP to relay/save/whatsoever data taken from IceCast server.
Everything seem to be OK, but I wanna make everything perfect (maybe I am afraid to be banned or so ;)). Crurrently I send the flollowing request header:
PHP Code:
$request_header = "GET /M-1 HTTP/1.1\r\n";
$request_header .= "Host: 127.0.0.1:1234\r\n";
$request_header .= "User-Agent: Winamp 2.51\r\n";
$request_header .= "Keep-Alive: 300\r\n";
$request_header .= "Connection: keep-alive\r\n";
$request_header .= "\r\n";
Well, I want to know what exactly WinAmp asks from the server while requesting data.
(particulary http://radio.m-1.lt:9000/M-1.m3u)
I could do this by myself too, it will just take some time writing server for listening data. If anyone is good at this or has good listener, I would appreciate if he/she posted here the request sequence.
THANKS