simple echo servers realized by c