| Did you know ... | Search Documentation: |
| Predicate prolog_server/2 |
Currently defined options are:
ip(A,B,C,D), (IPv4)
or ip(A, B, C, D, E, F, G, H) (IPv6). Access is granted if the
Peer address as returned by tcp_accept/3 unifies with
IPOrList or, if IPOrList is a list, with a member of this list.
If no allow option is provided access is only granted from
ip(127,0,0,1) (localhost). For example:
?- prolog_server(4000, []). % ncat localhost 4000 Welcome to the SWI-Prolog server on thread client@127.0.0.1 1 ?-
libssh provides an embedded SSH server. This
provides encryption as well as a pseudo terminal, providing
full commandline editing, history and interrupt processing.netcat shuts
down the socket on ^D (using the -N option). Otherwise one must
enter the command "end_of_file."