Description

Starts serving requests.

This method starts the server, resolves addresses and then proceeds to the actual listen(2)/bind(2) equivalent..

Once the connection is fully set up the "serving" event is dispatched.

Since 1.19

Signature

serve @pure_virtual {
    params {
        @in address: free(string, free) @nonull;
    }
    return: Eina.Error;
}

C signature

Eina_Error efl_net_server_serve(Eo *obj, const char *address);

Parameters

  • address (in) - Address to run server on

Implemented by

  • Efl.Net.Server.serve