Kurt, 

> I have been testing with ICSlogger attached in my client app, as you
> recommended, and have listed the results below. 
> As far as I can interpret the log,  the session is closed due to
> winsock error 10053 ?
> In my server application I am logging all failed connection attempts
> e.g. if WSocket->Accept() returns invalid socket handle, but none
> appear.  

The connection aborted during the SSL handshake for some reason,
winsock send() returned -1 (SOCKET_ERROR): 

> ThreadID: 3456: ICSlogger: 17:09:06:448 03B140D0 my_RealSend (0x23C,
> 46316712, 108) = -1   [14267]

I've no idea why, it doesn't look like the client application closed it.
Did you enabled all options in the TIcsLogger?

> 
> As a side note, the error seems to appear more frequently if I send
> data to the server in the clients OnHandshakeDone event, after
> ErrCode = 0 and PeerCert->PostConnectionCheck("mydowmain.com")
> returns true, using the SslWSoclet::SendtStr()   
> function, than just connecting running a for-loop and then
> disconnecting from the server. 

I'm running out of ideas. 

> 
> Come to think of it, my SSL client app is running on Windows XP Pro
> SP3 
> and my SSL server app is running on Windows Server 2003 SP2.
> I seem to recall some maximum outbound connection count of 10
> sessions/sec on a Windows XP Pro. 
> I am running my test app With 30 concurrent threads connecting to the
> server, waiting for HandshakeDone, sleeping 100 mSec and then
> disconnecting.  
> My session counter in the server app however does show a "stable"
> count of 30 active sessions. 
> 
> Could this be the cause of my problems ?

If so, there should be an entry in the event log AFAIK:
"EventID 4226: TCP/IP has reached the security limit imposed on the 
number of concurrent TCP connect attempts"
This limit applies to halve open connections rather than the number
of connections.  

-- 
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

Reply via email to