From xemacs-m  Fri Jan 31 13:48:10 1997
Received: from UCSD.EDU (mailbox2.ucsd.edu [132.239.1.54])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA12474
	for <xemacs-beta@xemacs.org>; Fri, 31 Jan 1997 13:48:09 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.5/8.6.9) with SMTP id LAA27860 for <xemacs-beta@xemacs.org>; Fri, 31 Jan 1997 11:48:11 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id LAA17232; Fri, 31 Jan 1997 11:51:01 -0800
Sender: dmoore@sdnp5.ucsd.edu
Cc: xemacs-beta@xemacs.org
Subject: Re: how to make Gnus disconnect
References: <hhohe5so1k.fsf@dres.elam.org>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
From: David Moore <dmoore@UCSD.EDU>
Date: 31 Jan 1997 11:50:59 -0800
In-Reply-To: James LewisMoss's message of 31 Jan 1997 13:21:59 -0500
Message-ID: <rvohe5r5cs.fsf@sdnp5.ucsd.edu>
Lines: 24
X-Mailer: Gnus v5.4.8/XEmacs 19.15

James LewisMoss <dres@scsn.net> writes:

> Eventually (couple of minutes later... seems like almost five though I
> haven't actually tested it) it will give up and disconnect.  Is there
> any way to FORCE it to disconnect?  I know when my IP has changed and
> it isn't going to be able to connect.  Or maybe even a pointer to code
> that could be modified to check the hostname of the original
> connection and the current hostname so it'll disconnect on its own?

	Sounds like it's just a normal TCP timeout.  If you know you are
going to disconnect, you can probably close the server before hand in
the server buffer (`^' from group buffer).  And then reopen it later
when you need it.

	Part of the problem is that gnus is friendly and tries to send a
`QUIT' to the remote server when closing down.  You might be able to
edit nntp-close-server and nntp-request-close to not send those as well.


-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

