Hey all,
Very new at programming, working on a short homework assignment.
Had to modify a basic winsock echo server to give a response based on user input.
For example, if the user enters "get signals RF 10", the user should get 40 zeros in return. If the user enters "get signals RF 2200", the user should get 8800 zeros in return.
Now I've made it so the program can get the number that the user enters and multiply it by four, however I'm stuck on getting the program to print out the zeros. I figure I could do this using a for loop.. I'm sure this is basic but again, I'm very new at this. Go easy on me. My program is attached below.
HandleTCPClient.c