Efl.Net.Socket_Udp.bind

Description

Forces binding to a specific address.

Some servers may request packets being sent from a specific address, then one binds to that address before proceeding to dial.

If no address is provided or bind is not called, a random port is bound automatically to any address.

IP and PORT must be all numeric, no name resolution is applied.

Values

  • address - Address to bind to

Signature

@property bind {
    get {}
    set {
        return: Eina.Error;
    }
    values {
        address: string;
    }
}

C signature

const char *efl_net_socket_udp_bind_get(const Eo *obj);
Eina_Error efl_net_socket_udp_bind_set(Eo *obj, const char *address);

Implemented by