Hello,

I  am  actually  doing  some crash test on my server to handle as many
situations as possible.

I have a problem in a failed socket .Connect

I  create  a  few  sockets to .Connect them to some remote points. The
.Connect  will excecute and fail because there is nothing listening on
destination  (this  is  wanted  situation  to  test my auto re-connect
feature).

The  failure  to  connect will trigger a OnSessionConnected event with
Error 10061 followed by a SessionClosed.

In  the  SessionClosed  I  start  a  Timer that will send a message 20
second later to retry a .Connect, but this new try will only produce a
OnSessionConnected not followed by a SessionClosed, any idea why ?

But may be it is the first OnSessionClosed that should never happend ?

2006/03/17 18:29:39 !> OutgoingConnectorSessionConnected [EMAIL PROTECTED]:5433 
(10061 Connection refused)
2006/03/17 18:29:39 !> OutgoingConnectorSessionClosed [EMAIL PROTECTED]:5433 (0 
No Error)
2006/03/17 18:29:39 !> OutgoingConnectorSessionConnected [EMAIL PROTECTED]:5434 
(10061 Connection refused)
2006/03/17 18:29:39 !> OutgoingConnectorSessionClosed [EMAIL PROTECTED]:5434 (0 
No Error)
2006/03/17 18:29:52 !> OutgoingConnectorSessionConnected [EMAIL PROTECTED]:5433 
(10061 Connection refused)
2006/03/17 18:29:53 !> OutgoingConnectorSessionConnected [EMAIL PROTECTED]:5434 
(10061 Connection refused)

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

Reply via email to