test both the getf() and get_multif() interfaces
use 32bit integers in network byte order to encode the index and the size

of data being provided through a filedescriptor when using the get_multif() interface.

This is safer and ensure certainty even if limiting the datasize to MAXUINT
when retrieved using get_multif()