>>> wsConnected means the result to the connection process is known,
>>> wheter it is a success or not.
>>> This is analog to having OnSessionConnected called even if connection
>>> fails.
>>
>> I understand, but it's a little bit strange anyway.
>
> I think the idea is that the FState represents the current _state_ of a
> finite state machine, as opposed to the current _status_ of the
> component.  But I also agree with Arno a little: it is still
> conceptually proper to not change the FState to wsConnected if the
> connection failed, since the state transition did not occur.

This converation is probably useless, but here another reply:
Consider wsConnected as the state where the finite state machine comes into 
when it has received the reply from the OS about connection setup. 
wsConnected state is entered as soon as the FD_CONNECT event is received. 
This is when the connection is established or can't be established.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
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