This is a discussion on in socket, how to know send buffer is full? within the Networking/Device Communication forums, part of the General Programming Boards category; thanks!...
I already know how to get the buffer is full (by select function). but, how can set the buffer to empty?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.