$inet->QueryDataAvailable()
inet
Returns the number of bytes of data that are available to be read immediately by a subsequent call to ReadFile (or undef on error). Can be applied to URL or HTTP request objects.
ReadFile
undef
Copyright © 2001 O'Reilly & Associates. All rights reserved.