>> Could you try this:
>> Run the command interpreter (command line).
>> Enter "telnet targethost 80"
>> Then once telnet has connected, enter exactly "GET / HTTP/1.0" (without
>> quotes), then CTRL+M and CTRL+J (that is CR/LF pair).
> I did this and it worked OK on all PCs.
>> You should get the answer from the webserver. If this doesn't work, then 
>> ICS
>> HTTP client component wont work either. If it works, then something is 
>> wrong
>> in your program. Check with HttpTst ICS demo.
> I have already been using the httptst demo program in my investigations
> - it gives the same error as my program

If telnet works, HttpTst program has to work also. It does exactly the same 
thing. If it doesn't work, maybe you have something corrupted in your ICS 
I have uploaded HttpTst executable at 
http://www.overbyte.be/arch/dump/HttpTst.zip. There is both ICS-V5 and 
ICS-V6 versions. Would you try with those versions and report here what is 
displayed (copy/pasted in your email, screen dump would be too large) in the 
two memos when you check "Display header" and execute the get query ? Try 
with http/1.0 and http/1.1, everything clear except URL and display header 
checkbox. Use http://www.overbyte.be as URL for testing.

You should see in upper memo:

---- cute here ----
Not using proxy
cmd> GET / HTTP/1.0
cmd> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
cmd> Connection: Keep-Alive
cmd> Accept-Language: en, fr
cmd> User-Agent: Mozilla/3.0 (compatible)
cmd> Host: www.overbyte.be
text/html => document.htm
Location = http://www.overbyte.be
URL = http://www.overbyte.be
Document = document.htm
RequestDone, no error. Status =200
StatusCode = 200
hdr>HTTP/1.1 200 OK
hdr>Date: Sun, 13 Jul 2008 08:34:47 GMT
hdr>Server: Apache/2.2.6 (Win32) PHP/5.2.5
hdr>Last-Modified: Wed, 31 Dec 2003 17:48:22 GMT
hdr>ETag: "16f59-395-585ca310"
hdr>Accept-Ranges: bytes
hdr>Content-Length: 917
hdr>Keep-Alive: timeout=5, max=100
hdr>Connection: Keep-Alive
hdr>Content-Type: text/html
---- cute here ----

And in lower memo:
---- cute here ----
 <TITLE>OverByte - HomePage</TITLE>

                                             [HTML code removed for clarity]

---- cute here ----

The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to