Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NNTP connect to server
#2
(12-25-2019, 02:36 PM)AndrzejB Wrote: I see examples in https://delphi.fandom.com/wiki/TIdNNTP but I need other examples

Why? What exactly is wrong with that example that you are not able to achieve your goal with it?

(12-25-2019, 02:36 PM)AndrzejB Wrote: how to connect to server and how make secure connection (SSL or other?) ?

There are tons of examples floating around of how to use SSL/TLS with Indy. Start by attaching an SSLIOHandler component, such as TIdSSLIOHandlerSocketOpenSSL, to the TIdNNTP.IOHandler property, and then set the TIdNNTP.UseTLS property to utUseImplicitTLS or utUseExplicitTLS depending on what kind of SSL/TLS NNTP port you are connecting to.

Reply


Messages In This Thread
NNTP connect to server - by AndrzejB - 12-25-2019, 02:36 PM
RE: NNTP connect to server - by rlebeau - 12-29-2019, 11:58 PM
RE: NNTP connect to server - by AndrzejB - 01-03-2020, 07:26 PM
RE: NNTP connect to server - by rlebeau - 01-03-2020, 10:57 PM
RE: NNTP connect to server - by AndrzejB - 01-04-2020, 01:18 PM
RE: NNTP connect to server - by rlebeau - 01-06-2020, 11:32 PM
RE: NNTP connect to server - by AndrzejB - 01-07-2020, 11:04 AM
RE: NNTP connect to server - by rlebeau - 01-07-2020, 07:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)