First cut C daemon