How do you compile a tcpserver and tcpclient program in c?

Platform dependent. Try these commands: cc, gcc, msc, bcc32, xlc...