Make 'python setup.py {trial,test}' run 'trial --rterrors foolscap.test'.
fixes #202

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
.gitignore: ignore *~, *.pyc and /_trial_temp*/

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
setup.py: make the required Twisted version consistent with the README.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
Improvements to .gitignore.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Make 'setup.py test' and 'setup.py trial' work.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Fix uninitialized variable errors when socket creation fails.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
raise errors within the ListenOn Mixin when one IP version or another isn't enabled