Did you know ... | Search Documentation: |
Predicate prolog_server/2 |
Currently defined options are:
ip(A,B,C,D)
.
Multiple of such terms can exist and access is granted
if the peer IP address unifies to one of them. If no
allow option is provided access is only granted from
ip(127,0,0,1)
(localhost).For example:
?- prolog_server(4000, []). % netcat -N localhost 4000 Welcome to the SWI-Prolog server on thread 3 1 ?-
libssh
provides an embedded SSH server. This
provides encryption as well as a pseudo terminal for a better
user experience.netcat
shuts
down the socket on ^D (using the -N
option). Otherwise one must
enter the command "end_of_file."