Commit 157018e7 authored by Ryan Pasculano's avatar Ryan Pasculano

try it now

parent ece92c25
File added
......@@ -107,7 +107,9 @@ main(int argc, char* argv[]) {
}
// send message to server
send(sd, &in_msg, BUFFER_SIZE, 0);
char write_msg[BUFFER_SIZE];
strcpy(write_msg, argv[3]);
send(sd, &write_msg, BUFFER_SIZE, 0);
printf("sent");
// send the received string back to client
printf("\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment