Basic networking functionality.