http package (only partially working)
This commit is contained in:
18
packages/http/examples/demo_inetd
Executable file
18
packages/http/examples/demo_inetd
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/pl -t main -q -f
|
||||
/* $Id$
|
||||
|
||||
Part of SWI-Prolog
|
||||
|
||||
Author: Jan Wielemaker
|
||||
E-mail: jan@swi.psy.uva.nl
|
||||
WWW: http://www.swi.psy.uva.nl/projects/SWI-Prolog/
|
||||
Copying: GPL-2. See the file COPYING or http://www.gnu.org
|
||||
|
||||
Copyright (C) 1990-2001 SWI, University of Amsterdam. All rights reserved.
|
||||
*/
|
||||
|
||||
:- use_module(demo_body).
|
||||
:- use_module(library('http/inetd_httpd')).
|
||||
|
||||
main :-
|
||||
http_server(reply, []).
|
Reference in New Issue
Block a user