I want to send data from one pc to another one using sockets. But that'a not
the Problem ;) I also want to use featurs like reading out things on the client side by using cmd,so that I dont't have to program whats already there. Such as time, ip and things like that.
So the problem is that the output of cmd only happens on the client side.
----------------
What I want (The command is for example "dir"):
[server]: sends the command "X" to the client
[client]: executes "dir" using cmd
[client]: returns the whole output of the cmd window to [server] (char buffer)
----------------
All works fine with my sockets. I just don't know if there is any way to
"capture" or redirect the output to the char-buffer...