| Did you know ... | Search Documentation: |
| Predicate pce_server/1 |
pce_server(+Address)
pce_server/1
implements a simple generic server. Its sources may be used as a
starting point to write dedicated servers. The Unix command xpce-client
may be used to connect to XPCE sockets. Below is an example of using
this library:
% xpce <banner> ?- pce_server(gnat). yes % on another terminal on the same machine % xpce-client gnat (pce) send(new(P, picture), open). P = @364728 (pce) exit %
The reserved command exit closes the server socket --
only this connection.