On the client side there is no output:
pds@hotice:hampi$ nc 127.0.0.1 4451 <<< "fred"
pds@hotice:hampi$
On the server side:
pds@hotice:hampi-read-only$ ./hampi_server.sh 4451&
[1] 22275
pds@hotice:hampi-read-only$ Wed May 05 15:56:17 WEST 2010 started
Hampi server on port 4451
Wed May 05 15:57:27 WEST 2010 accepted connection
solving: fred
ERROR file fred does not exist
Wed May 05 15:57:27 WEST 2010 closing connection
About that message of the server shuting down, I guess I might have
sent the SHUTDOWN message from the client. I guess the problem is
sending the message back to the client.
I have now downloaded the "hampi_20091215.zip", but I am unable to
build it, here is the error part of the building process:
...
...
...
build-project:
[echo] StringSolver: /home/pds/univ/phd/software/hampi/build.xml
build-libs:
[exec] make[1]: Entering directory
`/home/pds/univ/phd/software/hampi/lib/cfganalyzer-2007-12-03'
[exec] /usr/bin/make -C zchaff-src all
[exec] make[2]: Entering directory
`/home/pds/univ/phd/software/hampi/lib/cfganalyzer-2007-12-03/zchaff-src'
[exec] ar cr libsat.a zchaff_utils.o zchaff_solver.o
zchaff_base.o zchaff_dbase.o zchaff_c_wrapper.o zchaff_cpp_wrapper.o
[exec] ranlib libsat.a
[exec] g++ -Wall -O3 -w sat_solver.o libsat.a -o zchaff
[exec] g++ -Wall -O3 -w zminimal.cpp libsat.a -o zminimal
[exec] make[2]: Leaving directory
`/home/pds/univ/phd/software/hampi/lib/cfganalyzer-2007-12-03/zchaff-src'
[exec] mv zchaff-src/libsat.a ..
[exec] ocamlopt -o bin/cfganalyzer -cc g++
obj/zchaff_ocaml_wrapper.o ../libsat.a obj/zchaff.cmx obj/basics.cmx
obj/cfg.cmx obj/parser.cmx obj/lexer.cmx obj/varencoding.cmx
obj/coding.cmx obj/dotty.cmx obj/problems.cmx obj/engine.cmx
obj/main.cmx
[exec] File "_none_", line 1, characters 0-1:
[exec] Error: Files obj/zchaff.cmx and /usr/lib/ocaml/stdlib.cmxa
[exec] make inconsistent assumptions over interface Pervasives
[exec] make[1]: Leaving directory
`/home/pds/univ/phd/software/hampi/lib/cfganalyzer-2007-12-03'
[exec] make[1]: *** [exec] Error 2
BUILD FAILED
/home/pds/univ/phd/software/hampi/build.xml:33: exec returned: 2
Total time: 6 seconds
make: *** [all] Error 1
Pedro Salgueiro