I'll try to put this as simple as possible, first of all I have this code:
alias msgplus sockopen msgplus msgplus.net 80
on *:SOCKOPEN:msgplus:{
sockwrite -n $sockname GET /msgplus-manual.php HTTP/1.1
sockwrite -n $sockname Host: www.msgplus.net
;sockwrite -n $sockname Connection: keep-alive;
sockwrite $sockname $crlf
echo -cat topic * Connected...
}
on *:SOCKCLOSE:msgplus:echo -cat ctcp * Connection terminated by the server.
on *:SOCKREAD:msgplus:{
if ($sockerr) { echo 4 -at $+([,$sock($sockname).wserr,]) $sock($sockname).wsmsg | return }
;echo 3 -at * Before: $!sockbr: $sockbr
sockread %c
echo -ca info $iif(%c,$ifmatch,-)
;echo 3 -at * After: $!sockbr: $sockbr
}
Now, on my computer if I do /msgplus, I get:
[18:45:26] * Connected...
HTTP/1.1 200 OK
Date: Sat, 31 Jan 2004 17:45:20 GMT
Server: Apache/1.3.27 (Unix) mod_gzip/1.3.26.1a mod_python/2.7.8 Python/2.2.2 mod_webapp/1.2.0-dev mod_perl/1.27 mod_throttle/3.1.2 PHP/4.3.2 FrontPage/5.0.2.2510 mod_ssl/2.8.14 OpenSSL/0.9.7b
X-Powered-By: PHP/4.3.2
X-Accelerated-By: PHPA/1.3.3r2
Content-Type: text/html
Age: 0
Connection: close
-
[18:45:27] * Connection terminated by the server.
If anyone else does it, about 5 people I've tried it with, they get:
(17:37:54) * Connected...
HTTP/1.1 200 OK
Date: Sat, 31 Jan 2004 17:37:52 GMT
Server: Apache/1.3.27 (Unix) mod_gzip/1.3.26.1a
mod_python/2.7.8 Python/2.2.2 mod_webapp/1.2.0-dev
mod_perl/1.27 mod_throttle/3.1.2 PHP/4.3.2
FrontPage/5.0.2.2510 mod_ssl/2.8.14 OpenSSL/0.9.7b
X-Powered-By: PHP/4.3.2
X-Accelerated-By: PHPA/1.3.3r2
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
-
4
2074
-
-
(17:37:55) * Connection terminated by the server.
Notice that OTHER people seem to have an extra "4", "2074" line, this is the information I want! I have tried SO many different ways to try get it to appear, I've changed the script around so many times I couldn't change it anymore, this way It works, for other people.
I want to figure out why on earth it just doesn't work on my internet connection! I tried on another computer on my network with it and it didn't work either, so it must be my internet connection, what can I do about this?