noPollConn* nopoll_listener_tls_new_opts ( noPollCtx ctx,
noPollConnOpts opts,
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).

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

References NOPOLL_TRANSPORT_IPV4.

Referenced by nopoll_listener_tls_new().