Hi,

I can't find demo how to use non blocking mode. This code doesn't work:

  FSynSock := THTTPSend.Create;
  FSynSock.Sock.NonBlockMode := True;
  FSynSock.Sock.OnStatus := @HTTPOnStatus;

  .............


procedure TForm1.Button1Click(Sender: TObject);
begin
  FSynSock.Sock.NonBlockMode := True;
  FSynSock.HTTPMethod('GET', 'www.google.pl <http://www.google.pl>');
end;

It still block on HTTPMethod.

Regards
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to