HI, Thank you for the synapse project, this is great!
the code below is working properly: procedure TForm1.Button4Click(Sender: TObject); var HTTP: THTTPSend; URL: String; begin HTTP := THTTPSend.Create; try HTTP.ProxyHost := '192.168.0.222'; HTTP.ProxyPort := '80'; HTTP.HTTPMethod('GET', 'index.html'); Memo1.Lines.Assign(HTTP.Headers); Memo2.Lines.LoadFromStream(HTTP.Document); finally HTTP.Free; end; end; But if I change the ProxyHost to some unreachable IP address then the program is waiting for a very long time. Is any possibility to set ip address request timeout to shorter ?? -- thank you in advance Piotr Polok ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public