Create a socket to provide the service for Plug widget.


socket_listen {
    params {
        @in svcname: free(string, free);
        @in svcnum: int;
        @in svcsys: bool;
    return: bool;

C signature

Eina_Bool efl_ui_win_socket_listen(Eo *obj, const char *svcname, int svcnum, Eina_Bool svcsys);


  • svcname (in) - The name of the service to be advertised. Ensure that it is unique (when combined with svcnum) otherwise creation may fail.
  • svcnum (in) - A number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.
  • svcsys (in) - A boolean which when true specifies the creation of a system-wide service to which all users can connect, otherwise the service is private to the user id that created it.

Implemented by

  • Efl.Ui.Win_Socket.socket_listen