I have a C++ program which runs on Raspberry Pi, while it is running I want to change the variables so that when the program runs next time it runs with the updated values. I have a file which updates the values in my Windows PC.
I have learned that one of the methods to do so in Socket Programming and make the PC and RPi communicate through sockets.
I want to achieve this in C++ (communication between Raspberry Pi and PC during time) and I'm having hard time to find online resources. Please point me towards the resources or any example which does something similar.