a simple c server