Hello all, with
I am a socket programmer, and recently i'm learning MODBUS TCP, and I wanted to make a simple application using MODBUS TCP over ETHERNET, application has two programs, one is SERVER and other is CLIENT as we have in network programming, NOTE : Strictly on C only. I searched a lot and read but couldn't find anything except for C# .NET and serial configuration. If anyone can help...!!!?
Now I would like to redirect output of CMD, but there is following problem. When I set UseShellExecute=false, I cannot run CMD with administrator privileges, which is required to use Netsh. But when I set true I cannot redirect output. Could you please help, how can I solve this problem? Thank you in advance!