BytesReceived
This function returns the number of bytes currently in the receive buffer. This is a read-only property and is unavailable at design time. The value returned is a long integer.
Syntax: nValue = oSocket.BytesReceived
nValue (Long) the number of bytes
Group: Socket Object
Example:
Dim WithEvents oSocket As Socket ' module level Dim
Dim nBytes As Long
Set oSocket = New Socket
nBytes = oSocket.BytesReceived