> I wonder why I'm getting a OnConnect/OnDisconnect-Couple even though the
> Server is not reachable?
> If I try to connect to a server which is not reachable (because I pull
> the cable), the client gets an OnConnect followed directly by an
> OnDisconnect-Event.
> Is this true or is there an error in my event-handling?

This is true and as designed.
Note you get an error code argument telling you the failure in 
OnSessionConnected event you should
_always_ check this error code.

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


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