Net::Socket::get_Available Method
Gets the number of bytes available to read from the socket.
Syntax
uint Net::Socket::get_Available()
Return value
uint
The number of bytes available to read from the socket.
Remarks
Any of the Read functions will block if there are not enough bytes available to satisfy the read request. To avoid blocking the game loop, query the available byte count before performing a read operation.