troubleshooting Question

View Web Server Responses ( Real And Source of Returned Html Pages From Web Server )

Avatar of Imbeginner
Imbeginner asked on
19 Comments1 Solution320 ViewsLast Modified:
Hi Experts,
I used ClientSocket Component and unBlocking Mode For Connecting To A Site  Such As
I Used This Codes After Connecting To
procedure TForm1.Button1Click(Sender: TObject);
Var BytesSent:integer;
BytesSent:=Clientsocket1.Socket.SendText('GET /index.htm ');
unBlocking Mode  Reason For Client:
I plan To write A Simlple proxy server. I Use This Section For My Client Section of A proxy Server For Receiving Html Pages From Web Servers And Return Back  Html pages To Real Clients.

At First :I don’t Know With Which Event I Can  Inform From Server Responses In unBlocking Mode ?
Second : I Cant  View Html Pages and source of Responses.
Do you Have A Simple Coding For This Issue?
Call A URL And See  Returned Html Pages Plus Html  Sources in Your  Application?
Please Don’t write Your Coding Without Delphi Components.  Important
Thanks in Advance For Your Help.

Best Regards

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros