Completed c server