Function silc_http_server_alloc
SYNOPSIS
SilcHttpServer
silc_http_server_alloc(const char *ip, SilcUInt16 port,
SilcSchedule schedule,
SilcHttpServerCallback callback, void *context);
DESCRIPTION
Allocates HTTP server and binds it to the IP address `ip' on the
`port'. The `callback' with `context' will be called everytime a new
HTTP request comes to the server from a HTTP client. In that callback
the caller must then reply with the requested Web page or with error.
|