By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,650 Members | 753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,650 IT Pros & Developers. It's quick & easy.

winsock receive buffer

P: 91
Hi, MODERATOR

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
Jun 24 '08 #1
Share this Question
Share on Google+
1 Reply


P: 91
Anyone can help the above issue, Is there a way to clear receive buffer, and clear any error events opun receive data is handled. My application stuck sometime after data was read. Thanks.
Jun 25 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.