|
NAMEtls_accept_socket ,
tls_accept_fds , tls_accept_cbs
—
accept an incoming client connection in a TLS server
SYNOPSIS#include <tls.h>
int
int
int
DESCRIPTIONAfter creating a TLS server context tls with tls_server(3) and configuring it with tls_configure(3), a server can accept a new client connection by callingtls_accept_socket () on an already established socket
connection.
Alternatively, a new client connection can be accepted over a pair
of existing file descriptors by calling
Calling All these functions create a new context suitable for reading and writing and return it in *cctx. RETURN VALUESThese functions return 0 on success or -1 on error.SEE ALSOtls_close(3), tls_config_set_session_id(3), tls_configure(3), tls_connect(3), tls_init(3), tls_server(3)HISTORYtls_accept_socket () appeared in OpenBSD
5.6 and got its final name in OpenBSD 5.7.
AUTHORSJoel Sing <jsing@openbsd.org>
Visit the GSP FreeBSD Man Page Interface. |