Method SSL.Port()->ssl_callback()


Method ssl_callback

void ssl_callback(mixed id)

Description

Connection accept callback.

This function is installed as the Stdio.Port callback, and accepts the connection and creates a corresponding File with finished_callback() as the accept callback.

Note

If no accept_callback has been installed via bind(), listen_fd() or set_accept_callback(), installation of this function as the Stdio.Port callback will be delayed until the first call of accept().

See also

bind(), finished_callback(), set_accept_callback()