noPollConn* nopoll_listener_tls_new ( noPollCtx ctx,
const char *  host,
const char *  port 

Allows to create a new WebSocket listener but expecting the incoming connection to be under TLS supervision.

The function works like nopoll_listener_new (providing wss:// services) (IPv4 version).

ctxThe context where the operation will take place.
hostThe hostname or address interface to bind on.
portThe port where to listen, or NULL to use default port: 80.
A reference to a noPollConn object representing the listener or NULL if it fails.

References nopoll_listener_tls_new_opts().