Dne Wed, 03 Aug 2011 04:48:26 +0200 Jam Hitz <is.mu...@gmail.com>
napsal/-a:

As a basic step, you should always check the result of TPC/IP  
communication, e.g.

>       if ht.HTTPMethod('GET',edtUrl.Text) then
>         begin
>           [...]
>         end

         else
           begin
             memHeader.Lines.Add(Format('LastError: %d  
(%s)',[ht.Sock.LastError,ht.Sock.LastErrorDesc]));
             memHeader.Lines.Add(Format('SSL Error: %d  
(%s)',[ht.Sock.SSL.LastError,ht.Sock.SSL.LastErrorDesc]));
             exit;
           end;

BTW, did you include into your project Synapse's unit
ssl_openssl (or another one?).

If not, you'll get LastError=10091.


HTH, pf

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to