linux server programming examples