General use network library.