private void StartConnect(SocketAsyncEventArgs iSocketAsyncEventArgs) { bool willRaiseEvent = ConnectSocket.ConnectAsync(iSocketAsyncEventArgs); if (!willRaiseEvent) { ProcessConnect(iSocketAsyncEventArgs); } }