Description

Rejects a new client, should emit "client,rejected".

Must always close the client socket when it's done.

Since 1.19

Signature

client_reject @protected @pure_virtual {
    params {
        @in client_fd: int;
    }
}

C signature

void efl_net_server_fd_client_reject(Eo *obj, int client_fd);

Parameters

  • client_fd (in) - The file descriptor of the client socket. It comes preconfigured with close_on_exec and should be closed once it's not needed anymore

Implemented by

  • Efl.Net.Server.Fd.client_reject