On some platforms, this value will not exceed the size of the
receive buffer (typically 64K bytes). Because of differences between
TCP/IP stack implementations, it is not recommended that your
application exclusively depend on this value to determine the exact
number of bytes available. Instead, it should be used as a general
indicator that there is data available to be read.
If the connection is secure, the value returned
in lpdwAvail will reflect the number of bytes available in the
encrypted data stream. The actual amount of data available to the
application after it has been decrypted will vary.