Hi,
My application is communicate with a network device by transmit and receive string on network. I had a problem, after received 20 or 30 string, it looks like the receive buffer always contains the previous string, new coming string just appended to the receive buffer. is there any way to clear the buffer? I'm using winsock.getdada (String) upon receive data. Thanks
My application is communicate with a network device by transmit and receive string on network. I had a problem, after received 20 or 30 string, it looks like the receive buffer always contains the previous string, new coming string just appended to the receive buffer. is there any way to clear the buffer? I'm using winsock.getdada (String) upon receive data. Thanks
Comment