private bool DetectConnected() { if (Client != null) return true; OnError(new SocketException((int)SocketError.NotConnected)); return false; }