Unanswered: C++: does anyone know the code for net send?
ive been trying to figure out what the C++ code is to use the net send command with strings. ive come up with something like this so far but the program will always use what i've typed, not whats contained in the strings when I try to put them in the parentheses.
String user, message;
cout << "Enter the user name";
cout << "Enter the message";
system("net send user message");
You can use WinExec for example. But using NET SEND is not secure. The command is not protected from spam: A Network Bomb. That's why it is disabled in Windows by default. I would recommend to not enable it