If an initial attempt to Connect() blocks (or would, if we were blocking), immediate code has to be put on hold, and the kConnecting state respected until MFC sends the OnConnect() callback.
What if the user presses buttons (Login, Connect) in between? Make sure it's covered.
Generate a full state model sheet to add to the docs somehow.
If an initial attempt to Connect() blocks (or would, if we were blocking), immediate code has to be put on hold, and the kConnecting state respected until MFC sends the OnConnect() callback.
What if the user presses buttons (Login, Connect) in between? Make sure it's covered.
Generate a full state model sheet to add to the docs somehow.