[twsocket] C++ Newsreader Example

2011-07-18 Thread gjohnson
arno.garr...@gmx.de wrote:

 gjohn...@mixnym.net wrote:
 Hi,

 Since the C++ newsreader example included with ICS doesn't use the
 SSL NNTP client, I decided to try replacing the NNTP client in the
 example program with the SSL version of the client.

 There is a problem. The first time I connect with any news server
 (non-SSL), I instantly get a 10053 connection closed error.

 That's the expected result if property SslEnable of the component
 or the CtrlSocket is set to True.

 On second
 attempt the connection is good every time.

 I'm wondering what might be causing the error. Any help you can
 provide would be helpful.

 Then most likely SslEnable is not set?

Arno Garrels

Thanks Arno. That was it!

G.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] C++ Newsreader Example

2011-07-15 Thread Arno Garrels
gjohn...@mixnym.net wrote:
 Hi,
 
 Since the C++ newsreader example included with ICS doesn't use the
 SSL NNTP client, I decided to try replacing the NNTP client in the
 example program with the SSL version of the client.
 
 There is a problem. The first time I connect with any news server
 (non-SSL), I instantly get a 10053 connection closed error. 

That's the expected result if property SslEnable of the component
or the CtrlSocket is set to True.

 On second
 attempt the connection is good every time.
 
 I'm wondering what might be causing the error. Any help you can
 provide would be helpful.

Then most likely SslEnable is not set? 

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] C++ Newsreader Example

2011-07-14 Thread gjohnson
Hi,

Since the C++ newsreader example included with ICS doesn't use the
SSL NNTP client, I decided to try replacing the NNTP client in the
example program with the SSL version of the client.

There is a problem. The first time I connect with any news server
(non-SSL), I instantly get a 10053 connection closed error. On second
attempt the connection is good every time.

I'm wondering what might be causing the error. Any help you can
provide would be helpful.

G.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be