Miscellaneous stuff for a networks class.