📅  最后修改于: 2022-03-11 14:44:47.001000             🧑  作者: Mango
char sendbuf[BUFFER_SIZE];
fgets(sendbuf, sizeof(sendbuf), stdin);
send(sock_cli, sendbuf, strlen(sendbuf),0); //Send out
memset(sendbuf, 0, sizeof(sendbuf));