available

fun available(): Int

Get the size of the available data in the receive buffer.

Return

the size of the available data in the receive buffer

Throws

if can't get SockOpt