🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #714

Re: SSL and Indy

#714
From: Remy Lebeau (TeamB)
Date: Mon, 23 Oct 2006 20:19
28 lines
1647 bytes
"Lesley Anne" <mspfila-ng@yahoo.com> wrote in message
news:453d224b$1@newsgroups.borland.com...

> Does anyone have an example of how to add SSL when using IdHTTP->Post?

This has been asked and answered many times before.  Please search through
the Borland newsgroup archives at http://www.deja.com, and also browse
through the old messages on the news.atozed.com server.

> Indy has two SSL components: TIdServerIOHandlerSSL and
> TIdSSLIOHandlerSocket.  I'm assuming that since I'm on the client
> side of the connection that I would just use TIdSSLIOHandlerSocket.
> Is that right?

Yes.

> And then sometime before the call to Post() I would set:
>    IdHTTP1->IOHandler = IdSSLIOHandlerSocket1;

Yes.

> what functions (if any) do I need to call?

There are no function calls needed.


Gambit
Technical Details
Message-ID: <453d24d2$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <453d224b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f658a3cbb24f5b31
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <453d224b$1@newsgroups.borland.com>
Subject: Re: SSL and Indy
Date: Mon, 23 Oct 2006 13:19:47 -0700
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 69.169.4.232
Message-ID: <453d24d2$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1161635026 69.169.4.232 (23 Oct 2006 13:23:46 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail