winsock receive buffer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qfchen
    New Member
    • Oct 2006
    • 91

    winsock receive buffer

    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
  • qfchen
    New Member
    • Oct 2006
    • 91

    #2
    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.

    Comment

    Working...