Gio.SocketControlMessage.prototype.get_size

function get_size(): Number(gsize) {
    // Gjs wrapper for g_socket_control_message_get_size()
}
  

Returns the space required for the control message, not including headers or alignment.

Since 2.22

Returns

The number of bytes required.