GInputMessage.bytesReceived

will be set to the number of bytes that have been received

struct GInputMessage
size_t bytesReceived;

Meta