[twsocket] Simple Get HTML from URL

2012-07-21 Thread Miguel Enguiça
Hi, I need to get the HTML content from a URL list. I don't want to spend more than 10 seconds on each URL either if the remote server is down or a read timeout occurs. I've tried with: function GetUrlContentUTF8ICS(const Url: string):UTF8String; var lData: TStringStream; httpcli1 : THTTPCli;

[twsocket] ICS and HTTPServer handling medium traffic

2012-05-26 Thread Miguel Enguiça
Hi. I want to build a small webserver application to interface my framework, receiving http requests and replying with XML documents. I'd like to use your ICS suite under Delphi XE. The process seems to be pretty straight forward, using the OnGetDocument event. I just have a few questions,