
  -spec erlang:dist_ctrl_set_opt(DHandle, get_size, Value) -> OldValue
                                    when
                                        DHandle :: dist_handle(),
                                        Value :: boolean(),
                                        OldValue :: boolean().

Since:
  OTP 22.0

  Sets the value of the get_size option on the distribution
  channel identified by DHandle. This option controls the return
  value of calls to erlang:dist_ctrl_get_data(DHandle) where 
  DHandle equals DHandle used when setting this option. When the 
  get_size option is:

  false:
    and there are distribution data available, a call to 
    erlang:dist_ctrl_get_data(DHandle) will just return Data to
    pass over the channel. This is the default value of the 
    get_size option.

  true:
    and there are distribution data available, a call to 
    erlang:dist_ctrl_get_data(DHandle) will return Data to pass
    over the channel as well as the Size of Data in bytes.
    This is returned as a tuple on the form {Size, Data}.

  All options are set to default when a channel is closed.

  Note:
    Only the process registered as distribution controller for the
    distribution channel identified by DHandle is allowed to
    call this function.

  This function is used when implementing an alternative
  distribution carrier using processes as distribution controllers. 
  DHandle is retrieved via the callback f_handshake_complete.
  More information can be found in the documentation of ERTS User's
  Guide ➜ How to implement an Alternative Carrier for the Erlang
  Distribution ➜ Distribution Module.
