Home
last modified time | relevance | path

Searched refs:sendbuf (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.7/user/apps/test_relibc/
Dmain.c155 char sendbuf[BUFFER_SIZE] = {0}; in tcp_client() local
166 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()