Search Results

Search: Posts Made By: Projecteer
Forum: Programming 04-27-2016
3,572
Posted By Corona688
All right, this loop is suspect: while...
All right, this loop is suspect:

while ((size = recv(sock, recv_buf,
RECV_BUFFER_SIZE, 0)) > 0)
{
recv_buf[size] = '\0';
response.append(recv_buf);
}
...
Forum: Programming 04-27-2016
3,572
Posted By Corona688
Looking at it. Add stdio.h and stdlib.h to...
Looking at it.

Add stdio.h and stdlib.h to your headers, btw.
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy