server client c

How to write a client/server program in c++ using sockets and run it on two ms-dos machines?
Basically i wan't to write a file transfer program to transfer files between two ms-dos machines.
Could you please suggest how i need to proceed...
You'd have to network the two MS DOS machines and have TCP/IP as the protocol before going any further.
[phpbay]server client c, 30, "11211"[/phpbay]
[phpzon]server client c, 5, Electronics[/phpzon]
Areon Server/Client Released