Answers for "how to take user input in a client server program in c++"

C++
1

how to take user input in a client server program in c++

char sendbuf[BUFFER_SIZE];
fgets(sendbuf, sizeof(sendbuf), stdin);
send(sock_cli, sendbuf, strlen(sendbuf),0); //Send out
memset(sendbuf, 0, sizeof(sendbuf));
Posted by: Guest on July-30-2021

Code answers related to "how to take user input in a client server program in c++"

Browse Popular Code Answers by Language