- // This duplicates some code in _Wait(), but this doesn't hurt.
- // It has to be here because we don't know whether the Wait()
- // functions will be used, and it has to be in _Wait as well
- // because the event might be a bit delayed.
- //
- // The order in which we check events is important; in particular,
- // GSOCKET_LOST events should be checked last (there might be still
- // data to read in the incoming queue even after the peer has
- // closed the connection).
-
- case wxSOCKET_CONNECTION :
- m_establishing = FALSE;
- m_connected = TRUE;
- break;
-