Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I will have two computers, one with some data and the other one will need to modify and query that data.

This is not a database, and a database can't help at all as the data is stored into a physical machine controller (i.e. a CNC machine) and I do already have the program that harvest that data.

The harvesting program now is capable to read and write variables using their name and the value (to write) and their name and a variable (where the value is written).

I'm planning to upgrade that program to be able to answer queries from another program in another computer across the LAN so the data in computer A should be available in computer B to read and write.

Which would be the easiest way to do that using Visual C++?

I'm thinking on using sockets as it looks like the right technology to perform this task, but... is there anyone here that could guide me to a better place?

As always thank you in advance.

What I have tried:

Still nothing, I'm trying to figure out which kind of technology should I use...

As far as I have seen sockets look ok to perform what I do need...
Posted
Comments
Richard MacCutchan 11-Mar-16 8:54am    
Using sockets would be my first choice, as it is relatively easy to implement your own message exchange protocol over TCP/IP.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900