private void udpSocket_SocketError(object sender, InSimErrorEventArgs e) { Disconnect(); OnOutError(new OutErrorEventArgs(e.Exception)); }