I have this test socket:

alias update {
sockclose script.update
sockopen script.update www.home.no 80

on *:sockopen:script.update:{
sockwrite -n $sockname GET /knappen/version.txt HTTP/1.1
sockwrite -n $sockname Host: www.home.no
sockwrite -n $sockname $crlf

on *:sockread:script.update:{
var %ver
sockread %ver
tokenize 32 %ver
if (%ver) { echo -a %ver }

This is just a simple test for me to learn how to make a socket update... But when i try it it echoes:

HTTP/1.1 200 OK
Date: Sat, 22 Mar 2003 11:34:37 GMT
Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g
Last-Modified: Sun, 09 Mar 2003 16:35:16 GMT
ETag: "e2c098-4-b402d900"
Accept-Ranges: bytes
Content-Length: 4
Content-Type: text/plain; charset=ISO-8859-1

What is wrong? It should return v1.0 . I`ve placed a text file on my site that only contains v1.0.. But why doesn`t it echo that out?

Thanx for any help!