Enumerates socket receive flags.
Return as much data as is currently available in the input queue, up to the specified size of the receive buffer.
Copy received data into the buffer without removing it from the input queue.
Block the receive call until either the supplied buffer is full, the connection has been closed, the request has been canceled, or an error occurred.