I am using these changes for both my Plan 9 modification of Fossil (which use libventi and libthread instead of liboventi) and its port to plan9port.
*** Submitted as fad3b29cb1a1 *** libventi: add functions reconn and redial for use with fossil R=rsc CC=plan9port.codebot http://codereview.appspot.com/5325046 Committer: Russ Cox <rsc@swtch.com>