Daylight v4.9 Release Date: 1 February 2008 Namedt_alloc_http_server - create a HTTP service handlerGeneric Prototypedt_alloc_http_server(dt_Integer port) => dt_HandleC Prototype#include "dt_http.h"dt_Handle dt_alloc_http_server(dt_Integer port) FORTRAN Prototypeinclude 'dt_f_http.inc'integer*4 dt_f_alloc_http_server(port) integer*4 port DescriptionAllocate a new HTTP object. The port argument is a number in the range of 0 to 65535 and identifies the process on the network. A port number of 0 means that the service behaves as a CGI. In other words, it runs once and terminates. A port number greater than zero means the service listens on that port number and behaves as a server. In other words, it runs forever.Return ValueThe handle of a new HTTP object or NULL_OB if an error is detected.Related Topicsdt_http_get(3) |