If address is non-null then address will be set equal to the
source address of the received packet.
The address is owned by the caller.
Pass -1 to timeout_us to block indefinitely until data is received (or
the connection is closed, or there is an error). Pass 0 to use the default
timeout from gio.socket.Socket.guint, or pass a positive number to wait
for that many microseconds for data before returning gio.types.IOErrorEnum.TimedOut.
Receive data (up to size bytes) from a socket.
This function is a variant of gio.socket.Socket.receiveFrom which returns a glib.bytes.Bytes rather than a plain buffer.
If address is non-null then address will be set equal to the source address of the received packet.
The address is owned by the caller.
Pass -1 to timeout_us to block indefinitely until data is received (or the connection is closed, or there is an error). Pass 0 to use the default timeout from gio.socket.Socket.guint, or pass a positive number to wait for that many microseconds for data before returning gio.types.IOErrorEnum.TimedOut.