Searched refs:bufrec (Results 1 – 1 of 1) sorted by relevance
245 static char bufrec[BUF_SIZE + 1] = {0}; in SampleTcpServerTask() local246 memRet = memset_s(bufrec, sizeof(bufrec), 0, BUF_SIZE); in SampleTcpServerTask()254 iov[0].iov_base = bufrec; in SampleTcpServerTask()255 iov[0].iov_len = sizeof(bufrec); in SampleTcpServerTask()258 bufrec[ret] = 0; in SampleTcpServerTask()346 static char bufrec[BUF_SIZE + 1] = {0}; in SampleTcpClientTask() local347 memRet = memset_s(bufrec, sizeof(bufrec), 0, BUF_SIZE); in SampleTcpClientTask()355 iov[0].iov_base = bufrec; in SampleTcpClientTask()356 iov[0].iov_len = sizeof(bufrec); in SampleTcpClientTask()359 bufrec[ret] = 0; in SampleTcpClientTask()[all …]