Am Donnerstag, 27. Oktober 2016, 11:44:11 CEST schrieb Robert Wilkinson: > On Wed, Oct 26, 2016 at 08:04:30PM +0200, Rene Hartmann wrote: > > Hello, > > > > I've written a lightweight HTTP server in Forth. > > > > It uses an event-based I/O model. This allows handling many simultaneous > > connections without the need for tasks which are not available in all > > Forth > > implementations. > > > > Processing HTTP requests is delegated to request handlers. A handler for > > GET which sends files is included. Handlers for e.g. POST requests can be > > added. This makes it possible to implement a REST API using Forth. An > > example for a POST handler is included. > > > > The source is available at: > > https://sourceforge.net/p/colono/code/ci/default/tree/ > > > > This is an early version running under GForth and Linux only. Windows and > > other Forth implementations will be supported by future versions. > > > > -- > > René Hartmann > > Hello > > I downloaded this, and saw one executable file in the httpd > directory. > > I tried to run it, and saw ... > > bob@bobspc ~/s/c/httpd> ./colono.fs > redefined accept ar: `u' modifier ignored since `D' is the default > (see `U') > > in file included from *OS command line*:-1 > colono.fs:29: error 3305 > > >>>httpserve<<< > > Backtrace: > $7F86D984EE40 throw > $7F86D984F2A0 bind-addr > $7F86D9866678 server-listen > bob@bobspc ~/s/c/httpd> ar --version > GNU ar (GNU Binutils for Debian) 2.27 > Copyright (C) 2016 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the > terms of > the GNU General Public License version 3 or (at your option) any > later version. > This program has absolutely no warranty. > bob@bobspc ~/s/c/httpd> gforth --version > gforth 0.7.3 > bob@bobspc ~/s/c/httpd> > > Am I doing something wrong? > > An enclosed README file for the project would be useful to others?
Binding to address 80 requires root permission. -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* http://bernd-paysan.de/
