Please find attached the document. It has some coding and there are comments where YOU need to fill in the commands ONLY IN THE RED COLORED AREA, DON"T TOUCH OTHER CODING so that it works according to that commented requirement. As you should know that this is a simple packet transmission from client to server on same machine. For the expert and right person this is just a peace of cake. Please read carefully the requirements in the code THAT IS IN RED COLOR only.
Ask any questions if you don't get it. I'm posting low price as this is not tough work. I need working code on microsoft visual c code version. Good Luck!