On Fri, 15 Sep 2017 12:11:16 +0900 Carsten Haitzler <[email protected]> said:

also i spotted:
        efl_net_server_tcp_ipv6_only_set(server, ipv6_only);
vs
        efl_net_server_udp_ipv6_only_set(server, ipv6_only);

same question... ?


> why do i need to do stuff like:
> 
>    if (klass == EFL_NET_SERVER_SSL_CLASS)
>      {
>         efl_net_server_ssl_reuse_address_set(server, EINA_TRUE);
>         efl_net_server_ssl_close_on_exec_set(server, EINA_TRUE);
>         efl_net_server_ssl_reuse_port_set(server, EINA_TRUE);
>      }
>    else
>      {
>         efl_net_server_fd_reuse_address_set(server, EINA_TRUE);
>         efl_net_server_fd_close_on_exec_set(server, EINA_TRUE);
>         efl_net_server_fd_reuse_port_set(server, EINA_TRUE);
>      }
> 
> why are these (and other sibling methods/properties) not in a shared interface
> or parent class? this seems ... bad. ?
> 
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> Carsten Haitzler - [email protected]
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - [email protected]


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to