Link to home
Start Free TrialLog in
Avatar of chemicalx001
chemicalx001

asked on

Starting a function in a c++ application with a TCP command from C#

I have an application, in c++, streaming data to another application, in C#, via a TCP socket that is always open.

What I would like to do is start and stop functions in the c++ app, by sending a command from the c# app.

I can open a new socket /port, fine. How can I send a command, rather than a data stream? And use this to run a function, or request data?
SOLUTION
Avatar of mrwad99
mrwad99
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of phoffric
phoffric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chemicalx001
chemicalx001

ASKER

Ok. I believe that I was over-thinking it. Thanks all.