title: Need to determine the number of bytes downloaded using Winsock and recv
body: <p>I have code that uses a blocking socket to receive data via a call to recv. Everything works just fine. However there is no way to report to the user the number of bytes downloaded at any point in the process. I'm assuming that to be able to do this I would need to make multiple calls to recv, and report after each call? Or is there a better, more efficient way to do this?</p>