Server Socket Program

What all the ways to implement a server (takes multiple client request) socket i.e. fork, multithread etc and which one is efficient? Please explain with the help of code.
Sounds like homework.
Topic archived. No new replies allowed.