On 2 Jul 2005, at 01:37, Sidnei da Silva wrote:

On Mon, Jun 27, 2005 at 02:38:48PM -0400, Tim Peters wrote:
| > Any suggestions about how to best implement this,
|
| Maybe just create your own socket, attempt to connect, and if that attempt | fails produce the kind of error message you want to see? Of course if it | succeeds, there's some chance it will fail if you immediately close the
| socket and do a "normal" connection attempt.

That is good enough for me yes. Attached the script I've came up with,
which is far from perfect but has just the amount of functionality I
needed. Maybe we should include something similar to that with ZEO
itself?

Does't the *already included* zeoup.py do exactly what you are trying to do? See the bin directory of your zope home.

jens

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to