views:

45

answers:

0

I am writing a Visual C++ MFC application and getting stumped over what seems to be simple issue.

There is a server and database (MSSQL) Open ports are HTTP, HTTPS

There is the MFC client. It needs to connect a TCP/IP stream (possibly HTTP, SOAP, REST) to the server.

Sometimes the MFC client goes off-line and then the MFC client stores its data in a database.

When the MFC client goes on-line to server, it synchronizes data to the server, gets all the latest data from the server and updates local database.

How do I do that?