Well, Im connecting to a server generated page


I do everything right in sockets (I think)
But I get this error:
Quote:

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 19 Apr 2005 00:42:29 GMT
Set-Cookie: SITESERVER=ID=c48189ec1b36b646554cb46c5fb57378; expires=Monday, 01-Jan-2035 00:00:00 GMT; path=/; domain=.***webpage***.com
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Content-Length: 69
Content-Type: text/html
Set-Cookie: ASPSESSIONIDQATDBSTC=IDJJACKDGHIKJMIOOJJLPMDE; path=/
Cache-control: private

Is there some way I can view the source instead of the server info?


Bear

Heres my code (a few urls wiped out, but its not illeal, dont worry)

Code:

Code:
on *:join:#channel: {
/set %name $nick
/sockopen socktest ***hostpage*** 80
}
on *:sockopen:socktest: {
sockwrite -n $sockname GET ***webpage*** $+ %name HTTP/1.1
sockwrite -n $sockname Accept-Language: nl
sockwrite -n $sockname User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
sockwrite -n $sockname Host: http://www.***host***.com $+ $crlf $+ $crlf
sockwrite -n $sockname Connection: Keep-Alive
haltdef
}
on *:sockread:socktest: {
if ($sockerr) {
echo -a Error!
halt
}
var %temp
sockread %temp
;Im just trying to view the source here
/echo -a %temp
}
}

When the right urls are inplace, it gives me that message aboveIs it the server, and is there anyway to view the source?