What I am wanting to do is:
char LINK[] = "http://127.0.0.1/exec.php?cmd=
I'll use scanf to get the command (COMMAND)
scanf("%s", &COMMAND);
Then I would like to append LINK and COMMAND together into one variable to send over socket.
I heard this can be done with strcat.
I am very new to C, if you can provide an example that would be great.
-Thanks in advance