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

Creates a new websocket server listener on the provided host name and port (IPv4)

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_new_opts().