I'm using the MS Winsock control in VB6 and I want to understand things like
- "when does the Server Close the connection (triggering the Winsock_Close() event), and a related question:
- How do you know when all the data from a a Post has been returned?
More info: I should have mentioned: I've already read the MSDN description, etc., but it doesn't actually explain what's happening. E.g., it explains the the Close() event fires when the Server ends the connection but doesn't explain what would cause the connection to end and whether a broken connection would trigger a Close event, etc.
And none of the MSDN descriptions explain know when all the data has arrived. (I suspect it's the Close even firing).