Searched refs:sendbuf (Results 1 – 1 of 1) sorted by relevance
155 char sendbuf[BUFFER_SIZE] = {0}; in tcp_client() local166 fgets(sendbuf, sizeof(sendbuf), stdin); in tcp_client()167 sendbuf[0] = 'a'; in tcp_client()170 send(client_sockfd, sendbuf, strlen(sendbuf), 0); in tcp_client()172 if (strcmp(sendbuf, "exit\n") == 0) in tcp_client()187 memset(sendbuf, 0, sizeof(sendbuf)); in tcp_client()