Description

Avoids sent UDP packets being routed by a gateway, limiting them to the local network.

This will use SO_DONTROUTE option to avoid gateways routing sent packets outside the local network. It's useful for some protocols that only want the local area to be affected.

Since 1.19

Values

  • dont_route - true if do not route is enabled, false otherwise

Signature

@property dont_route {
    get {
        values {
            dont_route: bool;
        }
    }
    set {
        values {
            dont_route: bool;
        }
        return: bool (false);
    }
}

C signature

Eina_Bool efl_net_socket_udp_dont_route_get(const Eo *obj);
Eina_Bool efl_net_socket_udp_dont_route_set(Eo *obj, Eina_Bool dont_route);

Implemented by

  • Efl.Net.Socket.Udp.dont_route