Networking in c++
Please help me
I am able to design a c++ program that can send and receive messages.It based on server and client code.
Now I need that I will have a c++ program that will send a message to a computer, on which no program is running(The program will only run on my PC the other PC is only connected to internet).
Means I can send a message in the form of .txt file to an other computer via WAN network.
I am thinking to use cmd commands in my c++ code however I am not sure is there any command in CMD that will resolve my issue.
I want to make a MFC based c++ program that can send a message in the form of .txt file to my friend computer who lived away from me.
Advance thanks for the help.
Any peace of code,command , idea, suggestion or related tutorials are welcomed.