Possible Duplicate:
simple client and server
I want to learn how to code a server in C, preferentially using threads, but i don’t know where to start. I just want to learn the real basics to improve it gradually, so i think i want to code something simple first, like an echo server. can anyone help me?
If you are interested in Network Programming then Beej’s Guide to Network Programming might be of interest.