mmehr2 / Msw4

Source code for MagicScroll for Windows (basic) project.
0 stars 0 forks source link

Connect() call has OnConnect() scenario with WSAEWOULDBLOCK to consider #9

Closed mmehr2 closed 6 years ago

mmehr2 commented 6 years ago

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.

mmehr2 commented 6 years ago

This was for the bare AsyncSocket version, which we have dropped in favor of Pubnub.