I tried that and got this
HTTP/0.9 400 Bad Request
* /echo: insufficient parameters (line 18, sockettest.mrc)
I also tried it on yahoo sports with no such luck. I think i am using the wrong post/get method this is what i have for yahoo
alias sockettest {
sockopen toplist www.yahoo.com 80
}
on *:SOCKOPEN:toplist: {
sockwrite -nt $sockname GET sports.yahoo.com/mlb/scoreboard
sockwrite -nt $sockname HOST: yahoo.com
sockwrite -nt $sockname Accept-Language: en-us
sockwrite -nt $sockname User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
}
on *:SOCKREAD:toplist: {
if ($sockerr) {
echo -s SockError $sockname $sockerr
return
}
else {
var %temptext
sockread %temptext
echo -a %temptext
}
}
<h1>Sorry, Bad Request.</h1>
Your browser sent a request that this server could not understand.<P>
Invalid URI in request GET sports.yahoo.com/mlb/scoreboard<P>
<p>Please check the URL for proper spelling and capitalization. If
you're having trouble locating a destination on Yahoo!, try visiting the
<strong><a
i always get a bad request error.
