I am trying to write a forms app that will allow me to send a string similar to "^0!NO/r", this string send a command to a system that will also send a response back. In other words the program will be a client and the system will be a server. Here are my issues.
1, the system will not make a socket to the program, so it has to act like a raw TCP port, ie Telnet.
2, I cant find a good example of the code to program a socket in C++/CLI
This program will need to send a command, and wait for a split second for the response, (similar to a "ping") then either after the timer times out with no response or I receive the response I do something with the string, I can handle the response once I get it.
I just need to be either pointed in the right direction or kicked started on the connection code. Any help would be greatly welcomed.