Code:
on *:sockopen:x:{ 
  sockwrite -n $sockname GET / HTTP/1.1 
  sockwrite -n $sockname Host: eawedat.zxq.net $+ $crlf
  ;I DO NOT KNOW IF CODE BELOW IS NECESSARY
  ;sockwrite -n $sockname Connection: Keep-Alive
}

on *:sockread:x:{
  if ($sockerr) {
    echo -a Error
    halt
  }
  else {
    sockread %temptext
    echo -a %temptext
  }
}


Code:
Usage:- /sockopen x eawedat.zxq.net 80


but I do not get desired results!
I get this:-

Code:
HTTP/1.1 400 Bad Request
Date: Fri, 18 Nov 2011 15:40:52 GMT
Server: Apache
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>


thanks a lot.