If I've got Apache serving ten different domains...
Code:
Tcp Open "HTTP" AT "www.garybeene.com" AS #1 TIMEOUT 60000 Tcp Print #1, "GET /files/tcp_test.txt HTTP/1.0" Tcp Print #1, "" Tcp Recv #1, 4096, Buffer$ Tcp Close #1
I don't know how it would get around it (unless anything HTTP/1.0 could only serve one domain and no virtual hosts?), but if anything unusual happens maybe throw one in there.
-John
Leave a comment: