inspect_data_size() Inspects a size of received data, doesn’t make a copy of an internal buffer; Call Example Edit network.inspect_data_size() params: hndl (int). return: size of received data, in bytes (int) Edit require "network" hndl = network.connect( {} ) amount = network.inspect_data_size( hndl ) if amount >= 10 then print( "we got enough data to start processing..." ) end